view shader.vert @ 83:69d7349dc5d3

Render a textured quad with bitmap letter 'A' in the bottom left corner as an additional test - this does not render correctly with Zink (on Intel Haswell at least).
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Mar 2020 09:40:28 +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;
}