1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
cellular-shader/resources/myTextureShader.frag
2011-07-25 16:34:54 +02:00

9 lines
236 B
GLSL

uniform sampler2D tex;
void main( void ) {
gl_FragColor = texture2D(tex, gl_TexCoord[0].st);
//gl_FragColor -= texture2D(tex, gl_TexCoord[0].st + vec2(0.0, 0.005));
//gl_FragColor = gl_FragColor*2.0 + 0.5;
gl_FragColor.a = 1.0;
}