Tweak ambientBrightness to take into acount the cloud coverage

This commit is contained in:
Nicolás Badano 2015-03-13 22:27:14 -03:00
parent 86c16953ea
commit 80e7117ead

View File

@ -11,4 +11,4 @@
*/
#include "script_component.hpp"
sunOrMoon * sunOrMoon + moonIntensity/5 min 1
sunOrMoon * sunOrMoon * (1 - overcast * 0.25) + (moonIntensity/5 min 1) * (1 - overcast)