Search
lxdream.org :: lxdream/src/pvr2/fragment.glsl :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/fragment.glsl
changeset 635:76c63aac3590
author nkeynes
date Thu Feb 14 13:54:11 2008 +0000 (14 years ago)
branchlxdream-render
permissions -rw-r--r--
last change Commit render work in progress. Main changes:
* Preliminary OSMesa support
* Move the generic gl code out to pvr2/
* Implement scene data structure + reader
* Remove the 1/z adjustments
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/pvr2/fragment.glsl Thu Feb 14 13:54:11 2008 +0000
1.3 @@ -0,0 +1,7 @@
1.4 +// Standard PVR2 fragment shader
1.5 +
1.6 +void main()
1.7 +{
1.8 + gl_FragColor = gl_Color;
1.9 + gl_FragDepth = gl_FragCoord.z;
1.10 +}
1.11 \ No newline at end of file
.