Vanilla Enhanced 0.97
What's new
πΏ 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.
This mod has no additional files

