model-converter-python/assets/shaders/shader.vert

11 lines
212 B
GLSL

varying vec3 fNormal;
varying vec4 fTexCoord;
void main() {
fNormal = gl_Normal;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
}