Normal texture sample for held map item always be (0.5, 0.5, 0.5, 0.5) without resource packs. Only the real map content is affected, edge of map is working fine.
Set setting GBUFFER_DEBUG to NORMALS_TEXTURE, COLOR_WEIGHT to 1.0
Hold a map item and see its content is gray
Change line 31 of shaders/gbuffers_common.glsl to get the alpha channel of normal texture, reload shaders, and see content of held map item is still gray
Description of Issue
Normal texture sample for held map item always be (0.5, 0.5, 0.5, 0.5) without resource packs. Only the real map content is affected, edge of map is working fine.
Steps to Reproduce
shaders/gbuffers_common.glsl
to get the alpha channel of normal texture, reload shaders, and see content of held map item is still grayOptiFine Version
1.20.1 I6
Installation Method
Standalone
F3 Debug Screenshot
Setting GBUFFER_DEBUG to NORMALS_TEXTURE, COLOR_WEIGHT to 1.0![2024-03-10_09 37 42](https://github.com/sp614x/optifine/assets/41003546/fa4eb26c-12ee-44fd-974b-01fe77ef34b6)
Modified code to get alpha channel of normal texture![2024-03-10_09 38 35](https://github.com/sp614x/optifine/assets/41003546/416db288-0a5d-422d-b640-4f8eaf9ca1f4)
Additional Information
Nsight Graphics capture showing the normal texture is all pure 0x7f![20240310104444](https://github.com/sp614x/optifine/assets/41003546/688eee02-685d-4fd0-a976-05e94275e921)