HDR: Force an envmap update when the weather changes
This commit is contained in:
parent
cb56d1ef45
commit
7b20b1ed0e
1 changed files with 3 additions and 0 deletions
|
@ -184,6 +184,9 @@
|
||||||
# Re-initialize local weather.
|
# Re-initialize local weather.
|
||||||
settimer( func {local_weather.set_tile();}, 0.2);
|
settimer( func {local_weather.set_tile();}, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Force an update of the HDR environment map after a few seconds
|
||||||
|
settimer(func {setprop("/sim/rendering/hdr/envmap/force-update", "true");}, 5.0);
|
||||||
},
|
},
|
||||||
|
|
||||||
findScenarioByName : func(name) {
|
findScenarioByName : func(name) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue