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

13 lines
266 B
GLSL
Raw Normal View History

2016-11-25 10:27:05 +00:00
varying vec3 fNormal;
varying vec4 fTexCoord;
varying vec4 fFrontColor;
2016-11-25 10:27:05 +00:00
void main() {
2016-11-30 10:10:08 +00:00
2016-11-25 10:27:05 +00:00
fNormal = gl_Normal;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
fFrontColor = gl_Color;
2016-11-30 10:10:08 +00:00
2016-11-25 10:27:05 +00:00
}