14 lines
296 B
Plaintext
14 lines
296 B
Plaintext
|
precision mediump float;
|
||
|
varying vec2 TexCoord;
|
||
|
|
||
|
uniform sampler2D Texture;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
vec4 texColor = texture2D(Texture, TexCoord).rgba;
|
||
|
//gl_FragColor = texColor;
|
||
|
gl_FragColor = vec4(texColor.rgb*2.0 + vec3(0.2, 0.2, 0.2), texColor.a);
|
||
|
//gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||
|
}
|