Adds blinding + blindfolds (#8688)
* Adds blinding + blindfolds * Don't break examining lol * moment * fix toggle lights behavior * move checks around * Sloth review * Added a salvage funny * review * woops * Switch circle shader Co-authored-by: wrexbe <wrexbe@protonmail.com>
This commit is contained in:
9
Resources/Textures/Shaders/greyscale_fullscreen.swsl
Normal file
9
Resources/Textures/Shaders/greyscale_fullscreen.swsl
Normal file
@@ -0,0 +1,9 @@
|
||||
uniform sampler2D SCREEN_TEXTURE;
|
||||
|
||||
void fragment() {
|
||||
highp vec4 color = zTextureSpec(SCREEN_TEXTURE, UV);
|
||||
|
||||
highp float grey = dot(color.rgb, vec3(0.299, 0.587, 0.114));
|
||||
|
||||
COLOR = vec4(vec3(grey), color.a);
|
||||
}
|
||||
Reference in New Issue
Block a user