stk-code_catmod/data/shaders/objectpass.vert

13 lines
270 B
GLSL
Raw Normal View History

#version 130
noperspective out vec3 nor;
void main() {
nor = gl_NormalMatrix * gl_Normal;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
gl_TexCoord[1] = gl_TextureMatrix[1] * gl_MultiTexCoord1;
gl_Position = ftransform();
gl_FrontColor = gl_Color;
}