shaderBold3DLines.vert 249 Bytes
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1
2
3
4
5
6
7
8
9
10
11
12
// ShaderBold3DLines::vertexShaderText

ATTRIBUTE vec3 VertexPosition;
uniform mat4 ModelViewMatrix;
VARYING_VERT vec3 posClip;

INVARIANT_POS;
void main ()
{
	posClip = VertexPosition;
	gl_Position = ModelViewMatrix * vec4 (VertexPosition, 1.0);
}