view shader.vert @ 96:50a69d327b4f

Remove support for GL_GLEXT_PROTOTYPES.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 May 2021 02:35:14 +0300
parents d2839cbfaad8
children
line wrap: on
line source

varying vec3 snormal;
varying vec3 svertex;


void main(void)
{
   svertex = vec3(gl_ModelViewMatrix * gl_Vertex);
   snormal = normalize(gl_NormalMatrix * gl_Normal);

   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}