### 🌿 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.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }