Search
lxdream.org :: lxdream/src/pvr2/fragment.glsl
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 (13 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
nkeynes@635
     1
// Standard PVR2 fragment shader
nkeynes@635
     2
nkeynes@635
     3
void main()
nkeynes@635
     4
{
nkeynes@635
     5
	gl_FragColor = gl_Color;
nkeynes@635
     6
	gl_FragDepth = gl_FragCoord.z;
nkeynes@635
     7
}
.