最終更新:2015-03-31 (火) 02:28:23 (3307d)
GLSL/頂点シェーダ
https://www.opengl.org/wiki/Built-in_Variable_(GLSL)
入力
出力
out gl_PerVertex { vec4 gl_Position; float gl_PointSize; float gl_ClipDistance[]; };
- gl_PerVertex
- gl_Position - 変換後の頂点座標
- gl_PointSize? - ポイントスプライトのサイズ
- gl_ClipDistance?
関連
- GLSL ES/頂点シェーダ?
- 頂点シェーダ
- バーテックスシェーダ