Add directional rain back

This commit is contained in:
Joshua Barretto 2022-03-15 14:18:16 +00:00 committed by IsseW
parent 4fa2644507
commit 6093e1972a

View File

@ -104,7 +104,7 @@ void main() {
float fall_rate = 70.0; float fall_rate = 70.0;
dir.xy += wind_vel * dir.z / fall_rate * 0; dir.xy += wind_vel * dir.z / fall_rate;
dir = normalize(dir); dir = normalize(dir);
float z = (-1 / (abs(dir.z) - 1) - 1) * sign(dir.z); float z = (-1 / (abs(dir.z) - 1) - 1) * sign(dir.z);