Search
lxdream.org :: lxdream/src/pvr2/gl_slsrc.c
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/gl_slsrc.c
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
view annotate diff log raw
     1 /**
     2  * This file is automatically generated - do not edit
     3  */
     5 const char *glsl_vertex_shader_src = "// Standard PVR2 vertex shader\n\
     6 \n\
     7 void main()\n\
     8 {\n\
     9     gl_Position = ftransform();\n\
    10 //    gl_Position.z = log(gl_Vertex.z);\n\
    11     gl_FrontColor = gl_Color;\n\
    12     gl_FrontSecondaryColor = gl_SecondaryColor;\n\
    13     gl_TexCoord[0] = gl_MultiTexCoord0;\n\
    14 }\n\
    15 ";
    17 const char *glsl_fragment_shader_src = "// Standard PVR2 fragment shader\n\
    18 \n\
    19 void main()\n\
    20 {\n\
    21 	gl_FragColor = gl_Color;\n\
    22 	gl_FragDepth = gl_FragCoord.z;\n\
    23 }";
.