view shader.vert @ 102:2b22a89dd811

Add program information and copyright blurb in help.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 06 Oct 2022 05:01:45 +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;
}