Light Scheme Object

From Runic Games Wiki
Jump to: navigation, search

Contents

Light Scheme

Description

This Level Object is used to define the lighting scheme for a level. Multiple Light Scheme objects are used to change the lighting in a level based on time of day. The lighting scheme defined on this object will override the lighting scheme of the Level Rule Set.

Location

Right-click on an empty space in the Layout Scene Manager and choose Building Blocks > Light Scheme from the list.

Properties

Name Type Description Read Only
~IGNORE
INGNORE AMBIENT
bool
Ignore the Ambient light when setting the lighting.
INGNORE DIR
bool
Ignore the Directional light when setting the lighting.
INGNORE FILL
bool
Ignore the Fill light when setting the lighting.
INGNORE FOG
bool
Ignore the Fog when setting the lighting.
INGNORE LIGHTMAP
bool
Ignore the Light Map when setting the lighting.
INGNORE MAT AMBIENT
bool
Ignore the Material Ambient when setting the lighting.
AMBIENT
AMBIENT COLOR
int
Set the color of the Ambient light.
DIRECTIONAL
DIR COLOR
int
Set the color of the Directional light.
DIR INTENSITY
float
Set the intensity of the Directional light.
DIR POSITION
CVector3
The Directional light points towards the origin from this point.
FILL
FILL COLOR
int
Set the color of the Fill Light.
FILL INTENSITY
float
Set the intensity of the Fill light.
FILL POSITION
CVector3
The Fill light points towards the origin from this point.
FOG
FOG COLOR
int
Set the color of the Fog.
FOG END
float
Set the end distance of the Fog.
FOG START
float
Set the start distance of the Fog.
LANTERN
FILE NAME
string
Set the Lantern ( Player Light ) texture.
LIGHT MAP
LIGHT MAP COLOR
int
The Light Map color.
MATERIAL
MAT AMBIENT COLOR
int
The Material Ambient color.
PROPERTIES
BLOOM MODIFIER
float
Set the modifier for the amount of Bloom.
DURATION
float
The time ( in seconds ) to transition to this light scheme.
IS TIME OF DAY
bool
If True the Light Scheme is used for time of day interpolation.
SET ON LOAD
bool
If True the lighting is set on load.
TIME OF DAY
float
Set the time of day. Must be a number between 1 - 24.

Input Events

Enable
Enable the Light Scheme object.
Transition Start
Transition Restore
Store Trans Start Values

Output Events

Transition Complete
Restore Complete
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox