From 855b08cd127fe960c60f3206ad82a43b8b150110 Mon Sep 17 00:00:00 2001 From: MikiP98 <79966387+MikiP98@users.noreply.github.com> Date: Sat, 16 Nov 2024 21:39:26 +0100 Subject: [PATCH] Revert "remove pointless phase effect for diffuse lighting on particles" This reverts commit 82139685d166b487d43480c0362162065d2b4784. --- shaders/dimensions/all_particles.fsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shaders/dimensions/all_particles.fsh b/shaders/dimensions/all_particles.fsh index 1733e3c..2bc5656 100644 --- a/shaders/dimensions/all_particles.fsh +++ b/shaders/dimensions/all_particles.fsh @@ -435,9 +435,9 @@ void main() { Direct_lighting = directLightColor * Shadows; - // #ifndef LINES - // Direct_lighting *= phaseg(clamp(dot(feetPlayerPos_normalized, WsunVec),0.0,1.0), 0.65)*2 + 0.5; - // #endif + #ifndef LINES + Direct_lighting *= phaseg(clamp(dot(feetPlayerPos_normalized, WsunVec),0.0,1.0), 0.65)*2 + 0.5; + #endif AmbientLightColor = averageSkyCol_Clouds / 900.0;