12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
|
precision mediump float;
|
||
|
uniform sampler2D Texture;
|
||
|
uniform float Brightness;
|
||
|
varying vec2 texCoord;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec3 color = texture2D(Texture,texCoord).rgb;
|
||
|
|
||
|
gl_FragColor = vec4(color * Brightness, 1.0);
|
||
|
|
||
|
}
|