Search
lxdream.org :: lxdream/src/pvr2/vertex.glsl :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/vertex.glsl
changeset 645:a7392098299c
prev639:162ee7614b60
next652:231ca5cbd397
author nkeynes
date Thu Mar 06 08:22:00 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change More refactor work in progress - nearly done now
file annotate diff log raw
1.1 --- a/src/pvr2/vertex.glsl Mon Feb 18 09:21:43 2008 +0000
1.2 +++ b/src/pvr2/vertex.glsl Thu Mar 06 08:22:00 2008 +0000
1.3 @@ -2,8 +2,8 @@
1.4
1.5 void main()
1.6 {
1.7 - gl_Position.xy = ftransform().xy;
1.8 - gl_Position.z = gl_Vertex.z;
1.9 + gl_Position = ftransform();
1.10 +// gl_Position.z = log(gl_Vertex.z);
1.11 gl_FrontColor = gl_Color;
1.12 gl_FrontSecondaryColor = gl_SecondaryColor;
1.13 gl_TexCoord[0] = gl_MultiTexCoord0;
.