[2 lines] fix blinding (#9690)
* 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> * resolve merge conflict Co-authored-by: wrexbe <wrexbe@protonmail.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 347 B |
BIN
Resources/Textures/Clothing/Eyes/Misc/blindfold.rsi/icon.png
Normal file
BIN
Resources/Textures/Clothing/Eyes/Misc/blindfold.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 269 B |
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "equipped-EYES",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
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