Files
Bubberstation/code/modules/religion/burdened
SkyratBot c6e0c90cbb [MIRROR] The addiction withdrawal blur effect is now properly centered (#26227)
* The addiction withdrawal blur effect is now properly centered (#81069)

## About The Pull Request

What it says on the tin. It also affects the psychic projection ability,
since it seemed to suffer from the same problem.
It's an odd interaction, and seems to be the fault of the wave filter.
If the blur filter is applied after it, it seems to try and center
itself at a certain point of the wave which may not be aligned with the
center of the screen.
(Adding an initial offset to the wave filter makes the blur be
misalligned both horizontally *and* vertically, so it seems to try and
place itself at the initial position of the wave?)
<details>
<summary> Pictured here with 0.5 offset</summary>

![image](https://github.com/tgstation/tgstation/assets/80640114/60a850bd-8893-4054-8f1f-f389187e37a2)

</details>

One way or another, applying the blur filter before the wave filter
keeps it nice and centered.

![image](https://github.com/tgstation/tgstation/assets/80640114/2760b9f2-11a3-484d-9a61-36f8defd43b9)
## Why It's Good For The Game

Closes #81004
## Changelog
🆑
fix: the blur effects for hallucinogenic withdrawal and psychic
projection are now properly centered on the screen
/🆑

* The addiction withdrawal blur effect is now properly centered

---------

Co-authored-by: A miscellaneous Fern <80640114+FernandoJ8@users.noreply.github.com>
2024-01-25 09:33:16 -05:00
..