Tags
Creators
Details
Licensed ARR
Published last year
Updated last month
All versions
0.97
Release
Vanilla Enhanced 0.97last year 4,865
Compatibility
Minecraft: Java Edition
25w42a
1.21β1.21.10
1.20.x
1.19.x
1.18.x
1.17.x
Platforms
Iris
OptiFine
Changes
πΏ Vanilla Enhanced Shader v0.97 - Changelog

π Sun / Moon Direction Fix:
- Now properly uses sunPosition and moonPosition uniforms when available.
- If unavailable, a reliable fallback calculation is applied.
- Sun movement now follows the correct east-to-west trajectory using cos / sin.
π₯ Torch PBR Fix:
- Torch light is now fully omnidirectional (radiates in all directions).
- Added rim lighting for torches, enhancing glow realism.
- Softer specular highlights (power reduced from 64 β 16).
- Introduced a minimum ambient value (0.2) for consistent visibility.
ποΈ View Direction Correction:
- viewDir now correctly computed as: normalize(cameraPosition - worldPos)
- All calculations are now consistent in world space.
π Reflection Calculation Fix:
- Proper reflection vector using: reflect(-lightDirection, normal)
- Accurate specular highlights based on: dot(viewDir, reflectionDir)
- Ensures reflections respond correctly to camera angle.
β Overall Impact:
- Sunlight and moonlight now illuminate from the correct directions.
- Torches provide consistent, realistic lighting from all angles.
- Specular reflections behave properly based on camera perspective.
- No more north-locked lighting artifacts β lighting directions now feel natural.


