16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 14:49:19 +02:00

cloud coloring tweak, shadow color tweak

This commit is contained in:
tmj-fstate
2020-02-20 20:32:06 +01:00
parent 330bd3c455
commit d1df65f737
3 changed files with 40 additions and 9 deletions

View File

@@ -3148,7 +3148,7 @@ opengl_renderer::Render_precipitation() {
}
if( Global.Weather == "rain:" ) {
// oddly enough random streaks produce more natural looking rain than ones the eye can follow
::glRotated( Random() * 360, 0.0, 1.0, 0.0 );
::glRotated( LocalRandom() * 360, 0.0, 1.0, 0.0 );
}
// TBD: leave lighting on to allow vehicle lights to affect it?