Skip to content

mgePerPixelLightingTable⚓︎

The table returned by mgeWeatherConfig:getPerPixelLighting.

Properties⚓︎

ambient⚓︎

Corresponds to the value of "Ambient brightness multiplier" setting for given weather in the Per-pixel Lighting Settings menu of MGE XE.

Returns:

  • result (number)

sun⚓︎

Corresponds to the value of "Sun brightness multiplier" setting for given weather in the Per-pixel Lighting Settings menu of MGE XE.

Returns:

  • result (number)

weather⚓︎

The weather type passed to the getPerPixelLighting method. Maps to values in tes3.weather table.

Returns: