Wintermute Engine Forum

Wintermute Engine => Bug reports => Not a bug => Topic started by: FogGobbler on February 24, 2008, 04:51:49 PM

Title: Omni light doesn´t work in one Z direction
Post by: FogGobbler on February 24, 2008, 04:51:49 PM
Hi!

I don´t really know if it´s a bug or whats wrong, but the omni lights don´t seem to work one Z direction (when the character moves away from the camera). Imagine a hallway with a light in the middle. When the actor moves towards the cam and passes the light the actor darkens. But when it moves from the cam away down the hallway, it doesn´t. Hope you know what I mean :-)
Title: Re: Omni light doesn´t work in one Z direction
Post by: Mnemonic on February 24, 2008, 06:01:07 PM
Omni lights shine in all directions by definition. But if you're using hardware transform&lighting (where the number of hardware lights is limited), and there are many lights in the scene, WME automatically enables the lights nearest to the character. Perhaps that's the cause?
Title: Re: Omni light doesn´t work in one Z direction
Post by: FogGobbler on February 24, 2008, 06:09:16 PM
Yes, I am using T&L. That could be the reason, thanks for your quick reply.