Files
Bubberstation/code/modules/surgery
SkyratBot 2efeabbbf1 [MIRROR] Fixes the emissive blockers from the body parts layering over everything [MDB IGNORE] (#20244)
* Fixes the emissive blockers from the body parts layering over everything (#74362)

## About The Pull Request

As it says, this PR will stop bodypart emissive blockers from layering
over all the things.

This will fix any emissives that were not displaying on clothing, such
as the safety vest.

Fixes https://github.com/Skyrat-SS13/Skyrat-tg/issues/19531

https://github.com/tgstation/tgstation/issues/62442 and
https://github.com/tgstation/tgstation/issues/64098 are not fixed by
this, these are separate issues.

## Why It's Good For The Game

The pretty lights return to dazzle us once more.

<details>
<summary>Safety vest emissives</summary>

![dreamseeker_6vwaJOkpHR](https://user-images.githubusercontent.com/13398309/228765863-0ef65eff-60c9-496d-b289-6723716d1b2c.gif)

</details>

## Changelog

🆑
fix: fixes emissives blocker layering issue that was causing emissives
on clothing to not display at all
/🆑

Lemon: I am curious about when this became an issue, since it seems inconsistent with what I'd expect

I know this was working last year, around early fall, from screenshots. But beyond that, no clue. It happened sometime between now and then.

FLOAT_LAYER is very untrustworthy, I wish Lummox would add some debugging var that shows the last layer it was rendered on or something because there is really no way to see what it's doing reliably. But for now explicitly setting the layer might be a good idea for stuff like this.

* Fixes the emissive blockers from the body parts layering over everything

---------

Co-authored-by: Bloop <vinylspiders@gmail.com>
2023-04-01 00:20:27 -07:00
..
2023-03-31 03:48:57 +01:00