G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FLightmassLightSettings Struct Reference

Per-light settings for Lightmass. More...

Public Member Functions

Functions
FLightmassLightSettings & opAssign (FLightmassLightSettings Other)

Public Attributes

Lightmass
float32 ShadowExponent
 Controls the falloff of shadow penumbras.
bool bUseAreaShadowsForStationaryLight
 Whether to use area shadows for stationary light precomputed shadowmaps. Area shadows get softer the further they are from shadow casters, but require higher lightmap resolution to get the same quality where the shadow is sharp.
float32 IndirectLightingSaturation
 0 will be completely desaturated, 1 will be unchanged

Detailed Description

Per-light settings for Lightmass.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ bUseAreaShadowsForStationaryLight

bool bUseAreaShadowsForStationaryLight

Whether to use area shadows for stationary light precomputed shadowmaps. Area shadows get softer the further they are from shadow casters, but require higher lightmap resolution to get the same quality where the shadow is sharp.

◆ IndirectLightingSaturation

float32 IndirectLightingSaturation

0 will be completely desaturated, 1 will be unchanged

◆ ShadowExponent

float32 ShadowExponent

Controls the falloff of shadow penumbras.