Files
tbd-station-14/Resources/Textures/Shaders/greyscale.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

6 lines
117 B
Plaintext

void fragment() {
highp vec4 color = zTexture(UV);
COLOR = vec4(vec3(zGrayscale(color.rgb)), color.a);
}