BioWare Atari
BioWare Info BioWare Spiele Support Foren Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

Export Scripts - Part 8

Go to Page (Previous Page - Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 - Next Page)

Lighting

Lighting is relatively simple in our engine; it uses a simple vertex lighting system where lights can have one of the following properties:

  1. Static

    Some geometry is loaded in statically, and thus can be treated this way in the lighting system (for performance benefits). Static lights will only affect static geometry, which are really only the background tiles. Static lights are pretty much only used on the tiles themselves, for small amounts of shading. For this setting, leave both checks of "Is Dynamic" and "Affects Dynamic" un-clicked.

  2. Dynamic

    Dynamic lights affect both types of geometry in the same way. We use these lights only for animating lights like torches and spell effects. As they are calculation intensive, dynamic lights should be used sparingly if possible. For this setting, click both checks of "Is Dynamic" and "Affects Dynamic".

  3. Hybrid

    This flag counts a light as both static and dynamic. As long as the light does not move, it can light static geometry statically and dynamic geometry dynamically. We use the lights for the sun model, and all the predominant tile related lights we can. It's the best of both worlds, giving you control over both types without the performance hit that a pure dynamic light gives. To have this setting, just click "Affects Dynamic Objects".

Other functions in Aurora Light:

  1. Lens Flares

    Most of these settings are self-explanatory, but the flare radius is in cm and the "Position" is a value from -1 to +1 of where the flare will occur (see description below spinner). We didn't use this function as much as I would have liked… the main reason for this is because lens flares will only get occluded by walkmesh geometry. Walkmesh will be described in another document, as it is fairly specific to creating tiles.

  2. Fading Light

    When a light (connected to a model) is loaded or dropped from a scene, the light can effectively 'flick' on and off. If this check is on, the light will take a moment to fade on or off for a better overall feel. In some cases it's best to have this un-checked, for things like spells where you want the light to be at it's brightest as soon as it appears.

  3. Multiplier

    It's tough to explain this one… first of all, a multiplier can make a negative light in our engine, which is quiet useful for darkening corners and general shading (some spells too!). We also use this to enlarge the inside radius of a light as the lighting system clamps at 1, and if a light has a multiplier that goes above this, then it will simply push the inside radius out further (but will keep the outside radius to the correct setting.

  4. Priority

    Aurora has a light manager to prevent the engine from counting too many lights that affect dynamic objects. This relates to the light count setting in the game. In order for the manager to know which lights it can cull from the list first, we assign a priority number to it, from 1-5, 1 being the highest priority. This is the general scheme we used:

    1. The sun/moon
    2. Torches/ light spells
    3. Spells, general lights (which is why a new light will have this number as default)
    4. Un-needed tile lights
    5. Magic weapon lights. (for example)

Go to Page (Previous Page - Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 - Next Page)

 

 

Mass Effect Galaxy
Neverwinter Nights 2 Forums
Anzeigen/Verbergen

English
Deutsch
Français
Español
Italiano

Anzeigen/Verbergen

Neueste Bildschirmfotos anzeigen 

Neueste Bildschirmfotos anzeigen
Anzeigen/Verbergen

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Aktuelle Uhrzeit: (Zeit einstellen)
Sa, 21 November 2009 09:57

Anzeigen/Verbergen

Buy Premium Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Anzeigen/Verbergen

5,047,091 BioWare-Benutzer:
  62 Eingeloggt
  3 Verborgen
  228 Gäste

1535 Playing Online
  100% NWN
  100% NWN: SoU
  100% NWN: HotU

447 Registered Guilds

8,768,265 Einträge in den Foren

Neueste Themen in den Foren:
1. Stupid MAKO!! (Mass Effect 1 General Discussion (No spoilers allowed))

2. An Idea Realized and Marquee Abi... (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. I've never playe... (Baldur's Gate II: SoA and ToB General Discussion)

4. Why are you developers scared to... (Mass Effect 2 General Discussion (No Spoilers Allowed))

5. hidden trail (NWN2: Builders - NWN2 Toolset)