colortex1 is set to minecraft:textures/atlas/blocks.png by shaders.properties
while using "trueAtlasSize" that generated by textureSize function, the output will be like this:
while using the atlasSize uniform with gbuffers_hand_water program not used (no transparent hand held item, including hide the held item by F1), the output will be extremely strange:
but if there is a hand held transparent item, the atlasSize uniform then will work fine
OptiFine Version
1.17.1 G9, but this bug may have appeared for a long time after 1.14 (1.14 is fine), and this is the bug that caused continuum rt need a transparent held item to rendering correctly, and this issue starts from 1.16 or 1.15.
Still exist in 1.21.1 J1. If this is work as intended (atlasSize is not set to the size of main block/item atlas in composite passes), please close it.
Description of Issue
uniform atlasSize is broken when held item is not transparent in deferred/composite
Steps to Reproduce
This is the example code : (composite.fsh)
colortex1 is set to minecraft:textures/atlas/blocks.png by shaders.properties
while using "trueAtlasSize" that generated by textureSize function, the output will be like this:
while using the atlasSize uniform with gbuffers_hand_water program not used (no transparent hand held item, including hide the held item by F1), the output will be extremely strange:
but if there is a hand held transparent item, the atlasSize uniform then will work fine
OptiFine Version
1.17.1 G9, but this bug may have appeared for a long time after 1.14 (1.14 is fine), and this is the bug that caused continuum rt need a transparent held item to rendering correctly, and this issue starts from 1.16 or 1.15.
Installation Method
standalone
Log Files/Crash Reports
Nothing useful in log and no crashes