Commit fc6bdbf5 authored by Jan Möbius's avatar Jan Möbius

Added Philips Shader

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7479 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4b92dc76
uniform sampler2D Texture;
void main(void)
{
vec4 depthColor;
depthColor.x = texture2D( Texture, gl_TexCoord[0].st ).a;
depthColor.y = depthColor.x;
depthColor.z = depthColor.x;
depthColor.a = 1.0;
// gl_FragColor = depthColor;
gl_FragColor = texture2D( Texture, gl_TexCoord[0].st );
//gl_FragColor = gl_Color;
//gl_FragColor = vec4(1.0,0.0,0.0,1.0);
}
void main(void)
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = ftransform();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment