Changelog
🌿 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.
Files
Vanilla Enhanced 0.97.zip(6.91 KiB) Primary Download
Details
Licensed ARR
Published 3 months ago
Updated 11 days ago


