Lighting Template
OverviewEdit
Lighting Templates are used to quickly and easily share lighting information between cells. A lighting template may be created from scratch or derived from an existing cell and then modified. Once created, a lighting template may be added to a cell through the Lighting tab. Individual components may then be customized on a cell-by-cell basis.
Lighting Template ObjectEdit
Lighting Template objects are found in the Object Window under WorldData.
To create a new lighting template, right-click in the list of lighting templates in the Object Window and select "new" from the popup. This will open the Lighting Template dialog. Right-click a second time in the EditorId list to create a new template. To create a new lighting template based off an existing lighting template, right-click the lighting template you wish to use as a basis and select "duplicate". To delete an existing lighting template, right-click that lighting template and select delete.
Lighting Template DialogEdit
AmbientEdit
Enter specific RGB values or choose "Select Color" and use the color picker. This value is only used by the "Set From Ambient" button for the Directional Ambient. It has no impact on the actual lighting. It is useful for getting your initial directional ambient values.
FogEdit
Near/Far(color)Edit
Enter specific RGB values or choose "Select Color" and use the color picker.
NearEdit
How many units before the fog starts to show up.
FarEdit
The distance where the fog maxes out. If your max fog power is less than one, the distance where you reach your maximum fog value will be shorter than this.
PowEdit
The power of the fog (between 0 and 1). The lower this value is, the quicker the fog will show up.
MaxEdit
The maximum amount the fog color can impact the scene. 1 means it can go to 100% of the fog color. This is usually set around .7 to prevent scenes from going to a flat color.
Clip DistEdit
How many units until geometry is clipped out of the scene.
DirectionalEdit
This is a light that impacts the entire cell. It is used to simulate bounced light. Enter specific RGB values or choose "Select Color" and use the color picker.
RotationEdit
This is the angle of the directional light.
FadeEdit
This is the brightness of the light.
Get Values from cellEdit
Use the drop down to pick a cell whose settings you want to use. A confirmation dialog will pop up when you choose a cell and press the "Get Values from cell" button.
Directional Ambient ValuesEdit
Set From AmbientEdit
This picks 6 colors for the directional ambient based on your current ambient color setting. It is a good starting point for setting these values.
X+/-Edit
Enter specific RGB values or choose "Select Color" and use the color picker.
Y+/-Edit
Enter specific RGB values or choose "Select Color" and use the color picker.
Z+/-Edit
Enter specific RGB values or choose "Select Color" and use the color picker.
Light Fade DistancesEdit
Start/EndEdit
This is the distance at which regular omni lights start to fade out and when they are faded out completely. This has no impact on shadow casters.
SpecularEdit
This does nothing. It was never fully implemented.
Fresnel PowerEdit
This does nothing. It was never fully implemented.
Additional NotesEdit
Setting the RGB values to 0, 0, 0 may cause the lighting to turn completely off in certain spots, even if the player is using abilities such as "Night Eye". Setting the lights to pitch-black via the lighting template should be avoided.