mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add directional rain back
This commit is contained in:
parent
4fa2644507
commit
6093e1972a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user