A Game of Thrones • A Song of Ice and Fire NWN2 Persistent World • Low Magic Role Play

NWN2 Area Lighting: Overview

Resources - Technical Documentation
Tuesday, 09 December 2008 14:51

In the properties tab of a selected area, various lighting settings are available for each time-of-day listed under Appearance -> Day/Night Cycle Stages.

There are three light sources active in an area at all times:

  • SunMoon: This is the brightness of the sun or moon object, which moves across the sky over time between the coordinates specified in SunMoonDirection.
  • SkyLight: This is a constant ambient light that the sky emits. It will light up the surfaces of all objects, including heads, that face the sky.
  • GroundLight: This is a constant ambient light that the ground emits. It will light up the surfaces of all objects, including heads, that face the ground.

The intensity of the light generated by SkyLight and GroundLight sources controls the brightness of the light. Thus, lowering the intensity of these light emitters makes an area darker. For example, by setting the GroundLight color to red and setting its intensity greater than that of SkyLight, you can create the glow from a pool of lava.

For an area with constant lighting, the Day/Night cycle option should be set to "False" and the Default lighting settings should be used.

There are four settings that concern fog:

  • FarClip: This is the distance in meters at which the engine stops rendering anything.
  • FogColor: This is the color of the fog in RGB.
  • FogEnd: ThisĀ  is the distance at which the engine stops drawing fog (relative to PC).
  • FogStart: This is the distance at which the engine starts drawing fog (relative to PC).

Setting FogEnd to the same value as the FarClip distance ensures that everything before the PC fades off into the distance. Note: By zooming out, everything on screen that's not a tile is drawn in the FogColor, and this is particularly noticable as you near the edge of an area.

Last Updated on Wednesday, 26 October 2011 09:54
 

Add comment


Security code
Refresh