promotional bannermobile promotional banner

Vanilla Enhanced

A lightweight shader for realistic lighting & better visuals.
Back to Files

Vanilla Enhanced 0.97

File nameVanilla Enhanced 0.97.zip
Uploader
XsoraSXsoraS
Uploaded
Sep 28, 2025
Downloads
6.2K
Size
6.9 KB
File ID
7042431
Type
R
Release
Supported game versions
  • 1.19-Snapshot
  • 1.21-Snapshot
  • 1.20-Snapshot
  • 1.17-Snapshot
  • 1.18-Snapshot
  • 1.21.2-Snapshot
  • 1.21.6-snapshot
  • 1.21.1-Snapshot
  • 1.21.5-Snapshot
  • 1.21.4-Snapshot
  • 1.21.11-snapshot
  • 1.21.9-snapshot
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.2-Snapshot
  • 1.20.5-Snapshot
  • 1.20.3-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4-Snapshot
  • 1.19.3-Snapshot
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17.1
  • 1.17
  • OptiFine
  • Iris

What's new

🌿 Vanilla Enhanced Shader v0.97 - Changelog


Example


πŸ”† 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