Files
tbd-station-14/Resources/Textures/Shaders/greyscale_fullscreen.swsl
deathride58 ef1cba70b3 Shader cleanup - applies DRY to various shaders in the game (#23294)
shader cleanup - applies DRY to various shaders in the game
2024-01-03 19:35:25 +11:00

8 lines
169 B
Plaintext

uniform sampler2D SCREEN_TEXTURE;
void fragment() {
highp vec4 color = zTextureSpec(SCREEN_TEXTURE, UV);
COLOR = vec4(vec3(zGrayscale(color.rgb)), color.a);
}