Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アルファ値を表す 3D データがありますが、これをアルファ値のみで 3D テクスチャにロードするにはどうすればよいですか?
シングルチャネルテクスチャフォーマットを使用します。<= OpenGL-2.1の場合、これはGL_ALPHAになります。OpenGL-3から、GL_Rとシェーダーを使用して、rコンポーネントを出力フラグメントアルファチャネルに渡します。