nightvision and eyebrightness uniforms not updating correctly
FishyDish opened this issue ยท 0 comments
What happened?
The Night Vision uniform appears to be stuck at a constant value greater than 0.5 in all shader passes, regardless of whether the player actually has the Night Vision potion effect active. The Eye Brightness uniform also appears to remain at maximum value constantly.
Test code used in composite1.glsl after color = pow(color, vec3(2.2));
color *= vec3(1.0, 1.0 + nightVision, 1.0); - Should add blue tint only when night vision is active, Blue tint appears constantly, does not change when applying/removing night vision effect.
This prevents shader packs from implementing night vision-compatible features like custom darkness systems. The vanilla Night Vision effect works in the lightmap, but custom shader features cannot detect it.
Night Vision uniform is properly listed in uniforms.glsl, testing with iris works correctly.
Screenshots
N/A
Relevant log output
Additional ContextMinecraft Version
1.20.1
Oculus Version
1.8.0
Rubidium / Embeddium Version
Embeddium 0.3.31
Operating System
W11
What is your GPU?
Nvidia Geforce RTX 4070
Java Version
Java JDK 24