space-game001/shaders/default_desktop.fragment
Vladislav Khorev b45d9300bd New version
2025-11-30 22:46:42 +03:00

12 lines
238 B
Plaintext

//precision mediump float;
uniform sampler2D Texture;
varying vec2 texCoord;
void main()
{
vec4 color = texture2D(Texture,texCoord).rgba;
gl_FragColor = vec4(color.rgb*0.9 + vec3(0.1, 0.1, 0.1), 1.0);
//gl_FragColor = color;
}