Search
lxdream.org :: lxdream/src/pvr2/vertex.glsl
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/vertex.glsl
changeset 639:162ee7614b60
prev635:76c63aac3590
next645:a7392098299c
author nkeynes
date Mon Feb 18 09:21:43 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change More render WIP - initial glrender.c
file annotate diff log raw
nkeynes@635
     1
// Standard PVR2 vertex shader
nkeynes@635
     2
nkeynes@635
     3
void main()
nkeynes@635
     4
{
nkeynes@635
     5
    gl_Position.xy = ftransform().xy;
nkeynes@635
     6
    gl_Position.z = gl_Vertex.z;
nkeynes@635
     7
    gl_FrontColor = gl_Color;
nkeynes@635
     8
    gl_FrontSecondaryColor = gl_SecondaryColor;
nkeynes@635
     9
    gl_TexCoord[0] = gl_MultiTexCoord0;
nkeynes@635
    10
}
.