mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-26 10:12:54 +08:00
make cloud shadow strength slider work again
This commit is contained in:
@ -148,6 +148,9 @@ float GetCloudShadow(vec3 playerPos, vec3 sunVector){
|
||||
startPosition = playerPos + sunVector / abs(sunVector.y) * max(CloudLayer2_height - playerPos.y, 0.0);
|
||||
cloudShadows += getCloudShape(ALTOSTRATUS_LAYER, 0, startPosition, CloudLayer2_height, CloudLayer2_height)*dailyWeatherParams1.z * (1.0-abs(WsunVec.y));
|
||||
#endif
|
||||
|
||||
cloudShadows *= CLOUD_SHADOW_STRENGTH;
|
||||
|
||||
#if defined CloudLayer0 || defined CloudLayer1 || defined CloudLayer2
|
||||
totalShadow *= exp((cloudShadows*cloudShadows) * -200.0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user