view shader.vert @ 38:372fa249ce26

Add vsync option 0 (disable attempts of setting vsync mode.)
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Dec 2019 01:00:21 +0200
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;
}