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