Archived
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.
sky-roads/GLGameTemplate/Shaders/textureShader.fsh
2012-05-04 17:44:04 +02:00

13 lines
258 B
GLSL
Executable file

varying lowp vec2 texCoordVarying;
uniform sampler2D tex;
uniform lowp mat4 color_transformation;
void main( void ) {
lowp vec4 orig = texture2D(tex, texCoordVarying);
orig.a = 1.0;
gl_FragColor = color_transformation * orig;
gl_FragColor.a = 1.0;
}