Entities can ignore being affected by fog at certain angles.
Opened this issue ยท 2 comments
Expected Behavior
Entities don't ignore fog and all get the same result on the fog distance.
Actual Behavior
Entities don't ignore fog and hide based on the camera position.
Reproduction Steps
Spawn an entity, move away until its starting to get into the fog, then move the camera around
Attachments
System Information
- Java Version: bundled jre, java 8 b51
- CPU: amd ryzen 3 3200u
- GPU: amd radeon vega 3
The problem here is caused by entity rendering still using the old fixed-function pipeline, which doesn't use the same distance calculation as Sodium because it only exists as a proprietary NVIDIA extension. We'll have to extend our shaders to cover entity rendering in order to fix it, but that might help performance anyways.