| View previous topic :: View next topic |
| Author |
Message |
Foxer141 Pixel

Joined: 31 May 2010 Posts: 1
Thanks: 0 Thanked 0 Times in 0 Posts
Location: SuperSecrit
5
|
Posted: Mon May 31, 2010 8:53 pm Post subject: Dynamic Lights. |
|
|
How do i enable dynamic lighting?
Help me out here. |
|
| Back to top |
|
 |
Gary npc_combinegunship


Joined: 09 Nov 2008 Posts: 757
Thanks: 2 Thanked 10 Times in 6 Posts
Location: USA, FL
1509
|
Posted: Mon May 31, 2010 9:30 pm Post subject: |
|
|
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. _________________
It is best to contact me through Steam, username is Gjsdeath.
SDK Improvement Group
Do not be rude to people, there is no reason to show hostility if you have received none. |
|
| Back to top |
|
 |
BigFoot prop_static

Joined: 03 Dec 2009 Posts: 86
Thanks: 0 Thanked 0 Times in 0 Posts
166
|
Posted: Mon May 31, 2010 10:03 pm Post subject: |
|
|
| i thought i read somewhere that somehow you can enable dynamic shadows for multiple light sources... |
|
| Back to top |
|
 |
Gary npc_combinegunship


Joined: 09 Nov 2008 Posts: 757
Thanks: 2 Thanked 10 Times in 6 Posts
Location: USA, FL
1509
|
Posted: Tue Jun 01, 2010 12:28 am Post subject: |
|
|
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. _________________
It is best to contact me through Steam, username is Gjsdeath.
SDK Improvement Group
Do not be rude to people, there is no reason to show hostility if you have received none. |
|
| Back to top |
|
 |
shiftey npc_combinegunship


Joined: 09 Oct 2008 Posts: 709
Thanks: 0 Thanked 0 Times in 0 Posts
1725
|
Posted: Tue Jun 01, 2010 1:14 am Post subject: |
|
|
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. _________________ Current Projects |
|
| Back to top |
|
 |
Gary npc_combinegunship


Joined: 09 Nov 2008 Posts: 757
Thanks: 2 Thanked 10 Times in 6 Posts
Location: USA, FL
1509
|
|
| Back to top |
|
 |
|