shaderTextureMask.vert 300 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
// ShaderTextureMask::vertexShaderText

ATTRIBUTE vec3 VertexPosition;
ATTRIBUTE vec2 VertexTexCoord;
uniform mat4 ModelViewProjectionMatrix;
VARYING_VERT vec2 texCoord;
INVARIANT_POS;
void main ()
{
	gl_Position = ModelViewProjectionMatrix * vec4 (VertexPosition, 1.0);
	texCoord = VertexTexCoord;
}