high-vis vest is now dimmer (#37869)

* high-vis vest is now dimmer

accomplished by adding the unshaded sprite on top of the existing one in a third layer, this time set to shaded. And as the sprite is transparent, it lets some of the existing glow through.

* added relevant comments
This commit is contained in:
Moomoobeef
2025-05-28 02:39:29 -07:00
committed by GitHub
parent ea7350f3f1
commit 9a3cb1d2f6

View File

@@ -13,6 +13,11 @@
- state: icon
- state: icon-unshaded
shader: unshaded
- state: icon-unshaded
shader: shaded
#This is a neat trick I found to sort of "hack" an emissive map into ss14. Basically, the icon-unshaded texture has an alpha channel.
#Alpha doesn't work for unshaded, but for *shaded* it does, and by putting a shaded texture infront of the unshaded, we can dim the unshaded texture, effectively allowing brightness control.
#I go further indepth on this in my PR, https://github.com/space-wizards/space-station-14/pull/37869
- type: Clothing
sprite: Clothing/OuterClothing/Vests/hazard.rsi
clothingVisuals:
@@ -20,6 +25,9 @@
- state: equipped-OUTERCLOTHING
- state: equipped-OUTERCLOTHING-unshaded
shader: unshaded
- state: equipped-OUTERCLOTHING-unshaded
shader: shaded
#same trick here
- type: Tag
tags:
- HiViz