view shader.vert @ 91:4df8a7337e3e

Add simple 32bit texture version.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 18 Jan 2021 12:23:48 +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;
}