You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
258 B
14 lines
258 B
12 years ago
|
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;
|
||
|
}
|