Static lights are lights, that are renderd in the map compiler. The compiler creates a lightmap. This lightmap include all information abaout shadows, and lights in the level. But this only work on Levelblocks.

Dynamic lights are what the name say. The lights are createt at runtime and are renderd on the gpu. Only the parts, that the lights are penetrate(right word??) are lighten.


You can create static lights in WED. Just right click, choose add and choose light.

Dynamic lights are createt over a action.
Like:

action im_a_light()
{
my.lightrange = 100; //or whatever
my.red = 255;
my.green = 255;
my.blue = 255;
}


Attach this action to any model you want. When you run your level, then you should see a white light.

Hope this helps. For further informations, look at the manual. Search for dynamic light, or lights.


Greetings
Schmerzmittel


EDIT:
Shadows, at this time, are only possible with the stencil shadows. The shadows only react to the sunlight. Of course, theres a great shadowshader from slin. Look under the user constribution. Conitec will work on a shadowmapping shader. Also BoHavoc. Just wait. But dont plan it in your project, until its released.

Last edited by Schmerzmittel; 02/10/09 22:31.

A7 Com V7.80