Revert "remove pointless phase effect for diffuse lighting on particles"

This reverts commit 82139685d1.
This commit is contained in:
MikiP98 2024-11-16 21:39:26 +01:00
parent cf3346232e
commit 855b08cd12

View File

@ -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;