Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
14
glsl/postprocess_tint.frag
Normal file
14
glsl/postprocess_tint.frag
Normal file
@@ -0,0 +1,14 @@
|
||||
#version {VERSION}
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
uniform vec3 Tint;
|
||||
uniform sampler2D SourceTexture;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 c = texelFetch(SourceTexture, ivec2(gl_FragCoord.xy), 0);
|
||||
fragColor = vec4(Tint, c.a) * c;
|
||||
}
|
||||
Reference in New Issue
Block a user