mightyscape-1.2/extensions/fablabchemnitz/papercraft_unfold/assets/shaders/shader.vert

13 lines
266 B
GLSL
Raw Normal View History

2022-11-05 15:17:35 +01:00
varying vec3 fNormal;
varying vec4 fTexCoord;
varying vec4 fFrontColor;
void main() {
fNormal = gl_Normal;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
fFrontColor = gl_Color;
}