McJtyMods / RFToolsUtility

Everything from RFTools that doesn't fit in its own mod
MIT License
18 stars 17 forks source link

[1.20/ATM9] Oculus shaders cause Inventory screen modules to stop rendering after the first item #196

Open rezonant opened 3 months ago

rezonant commented 3 months ago

This took some time to figure out- it seems that the Oculus shader system (or at least the shader packs included within ATM9) cause the Inventory screen module to only be able to render a single item.

Furthermore, any module placed after the inventory module will not render at all, whereas placing other modules before the inventory module allow them to render. It seems some GPU state is not cleaned up correctly when screens are paired with the shaders. Tested with the ComplementaryReimagined-r5.1.1, ComplementaryUnbound-r5.1.1, and MakeUp-Ultrafast-8.8f shaders that are included in ATM9 0.2.58.

image image image

Disabling shaders after the bug occurs does not resolve it, only a restart done while shaders are disabled fixes the issue.

Also, if shaders are enabled, the Energy Plus module does not render at all. However, the Energy module (not Plus) renders just fine, with the exception that the bars underneath the text do not render at all.