1
0
Fork 0
fgdata/Shaders/road.vert

12 lines
274 B
GLSL
Raw Normal View History

2011-09-23 21:25:15 +00:00
#version 120
varying vec4 ecPositionIn;
varying vec3 ecNormalIn;
void main() {
ecPositionIn = gl_ModelViewMatrix * gl_Vertex;
ecNormalIn = gl_NormalMatrix * gl_Normal;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
gl_Position = ftransform();
}