Supplementaries
Supplementaries copied to clipboard
[🐞]: Several Post Effects (shaders) are immediately removed when `mob_head_shaders` is enabled.
Before Continuing:
- [X] Check you are using the latest version of the mods and its dependencies
- [X] Always include a latest.log if you are crashing
- [X] Remove mod that enhances Minecraft: Optifine, Sodium, others. The issue persists.
- [X] If you are unsure which mod is the culprit. Disable all of your mods and enable them 1-2 mods each time to isolate the culprit
- [X] Confirm that there is no existing issue with a similar description submitted in the list of issues.
Version
1.20.1-FORGE
Supplementaries Version
supplementaries-1.20-2.8.17
Moonlight Lib Version
moonlight-1.20-2.12.6-forge
Issue Detail
If the shader, that is defined in ClientEvents#EFFECTS_PER_ITEM, is applied but player is not wearing the appropriate head - effect is immediately removed. This breaks mods that apply that shader for their purposes.
It was reported to my mod (Exposure) because in latest version I've added a filter that uses vanilla invert shader. I'll fix this particular issue by creating my own invert shader instead, but since filters for Exposure can be created/modified in a resourcepack - players might run into the same problem when using creeper or desaturate shaders, for example. And other mods can potentially be affected by this as well.