Morrowind Mod:XSetWeatherScattering

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MGE XE.

These are two physical coefficients (RGB, but not colours) that control the atmosphere light scattering physics. Outscatter is a multiplier for colour lost as a light ray travels through atmosphere. Inscatter is secondary light from the sky scattered toward the viewer as a light ray travels through atmosphere. Defaults: outscatter = (0.07, 0.36, 0.76), inscatter = (0.25, 0.38, 0.48). High quality sky scattering has to be enabled in MGE XE for this function to work.

Syntax[edit]

XSetWeatherScattering outscatter_red(float) outscatter_green(float) outscatter_blue(float) inscatter_red(float) inscatter_geen(float) inscatter_blue(float)

See Also[edit]

XSetWeatherSky
XSetWeatherFog
XSetWeatherSun
XSetWeatherAmbient