Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- varying vec3 normal;
- varying vec4 pos;
- varying vec4 rawpos;
- void main() {
- normal = gl_NormalMatrix * gl_Normal;
- gl_Position = ftransform();
- pos = gl_ModelViewMatrix * gl_Vertex;
- rawpos = gl_Vertex;
- gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement