Forgotten shaders.

This commit is contained in:
John Maguire 2010-08-18 16:10:21 +00:00
parent 03274b0831
commit ccc3f85316
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
void main() {
vec4 color = gl_Color * gl_TexCoord[0].t;
color.r = pow(color.r, 0.5);
gl_FragColor = color;
}

View File

@ -0,0 +1,7 @@
void main() {
gl_FrontColor = gl_Color;
gl_Position = ftransform();
gl_TexCoord[0].st = gl_Vertex.xy;
gl_TexCoord[0].pq = gl_MultiTexCoord0.xy;
}