API ReferenceGE Extensionscoresettings
Lighting Quality
Defines lighting quality presets for the GraphicsQualityGroup system.
Defines lighting quality presets for the GraphicsQualityGroup system.
Overview
core/settings/lightingQuality - Quality levels module consumed by GraphicsQualityGroup. Controls the light manager type and shadow filter mode.
Quality Levels
| Level | $pref::lightManager | $pref::Shadows::filterMode |
|---|---|---|
| Lowest | Basic Lighting | None |
| Low | Advanced Lighting | SoftShadow |
| High | Advanced Lighting | SoftShadowHighQuality |
| Ultra | Advanced Lighting 1.5 | SoftShadowHighQuality |
onApply Callback
When variables change, calls:
setLightManager(TorqueScriptLua.getVar("$pref::lightManager"))This switches the engine's active light manager at runtime.
Module State
| Variable | Type | Default |
|---|---|---|
qualityLevels | table | { |
M.onApply()- Applies lighting quality settings to the engine.M.qualityLevels- Table. Quality presets (Lowest/Low/High/Ultra) mapping lighting manager and shadow filter prefs.
See Also
- GraphicsQualityGroup - Quality group class
- Settings Graphic - Parent graphics settings module