Page 1 of 1

Dynamic Lights.

Posted: Mon May 31, 2010 9:53 pm
by Foxer141
How do i enable dynamic lighting?

Help me out here.

Posted: Mon May 31, 2010 10:30 pm
by Gary
Like, real shadow-mapped dynamic shadowing/lighting?

Source fails when it comes to this, both in methods and implementation.

You can only have one in the entire scene, including the flash light. Though if you disable the flash light or during a cut-scene you can create your own with the env_projectedtexture entity.


If you mean the old system, which does not create dynamic shadows, use light_dynamic.

Posted: Mon May 31, 2010 11:03 pm
by BigFoot
i thought i read somewhere that somehow you can enable dynamic shadows for multiple light sources...

Posted: Tue Jun 01, 2010 1:28 am
by Gary
All you can do is allow for multiple shadow-mapped lights, so you can have more then one env_projectedtexture in a map and a flashlight. Though this value must be raised through the code, so you can't do it for O.C.

Also parenting and a few other problems with this entity, so really it's not the best light source.

Posted: Tue Jun 01, 2010 2:14 am
by shiftey
only use dynamic lights if it is absolutely necessary for an effect. they are terrible for fps and most of the time look glitched or shitty.

Posted: Tue Jun 01, 2010 4:20 am
by Gary
Pretty much what Shiftey said.