remove pointless phase effect for diffuse lighting on particles

This commit is contained in:
Xonk 2024-11-15 20:59:09 -05:00
parent b305de9412
commit 296168cd25

View File

@ -435,9 +435,9 @@ void main() {
Direct_lighting = directLightColor * Shadows; Direct_lighting = directLightColor * Shadows;
#ifndef LINES // #ifndef LINES
Direct_lighting *= phaseg(clamp(dot(feetPlayerPos_normalized, WsunVec),0.0,1.0), 0.65)*2 + 0.5; // Direct_lighting *= phaseg(clamp(dot(feetPlayerPos_normalized, WsunVec),0.0,1.0), 0.65)*2 + 0.5;
#endif // #endif
AmbientLightColor = averageSkyCol_Clouds / 900.0; AmbientLightColor = averageSkyCol_Clouds / 900.0;