Obsidian Conflict Forums

Have you seen my coffee cup?
It is currently Fri Oct 20, 2017 9:53 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Dynamic Lights.
PostPosted: Mon May 31, 2010 9:53 pm 
Offline
Pixel
User avatar

Joined: Mon May 31, 2010 7:37 pm
Posts: 1
Location: SuperSecrit
Has thanked: 0 time
Have thanks: 0 time
How do i enable dynamic lighting?

Help me out here.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 31, 2010 10:30 pm 
Offline
npc_advisor
npc_advisor
User avatar

Joined: Sun Nov 09, 2008 8:21 am
Posts: 1160
Location: USA, FL
Has thanked: 26 times
Have thanks: 49 times
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.

_________________
Have a question related to modding? PM me or message me on Steam(link below)

- [|YouTube|] - [|99 Bolts|] - [|Steam|] - [|Mod DB|] -


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 31, 2010 11:03 pm 
Offline
prop_static
prop_static

Joined: Fri Dec 04, 2009 12:57 am
Posts: 86
Has thanked: 0 time
Have thanks: 0 time
i thought i read somewhere that somehow you can enable dynamic shadows for multiple light sources...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 1:28 am 
Offline
npc_advisor
npc_advisor
User avatar

Joined: Sun Nov 09, 2008 8:21 am
Posts: 1160
Location: USA, FL
Has thanked: 26 times
Have thanks: 49 times
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.

_________________
Have a question related to modding? PM me or message me on Steam(link below)

- [|YouTube|] - [|99 Bolts|] - [|Steam|] - [|Mod DB|] -


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 2:14 am 
Offline
npc_combinegunship
npc_combinegunship
User avatar

Joined: Thu Oct 09, 2008 4:45 pm
Posts: 716
Has thanked: 1 time
Have thanks: 3 times
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 01, 2010 4:20 am 
Offline
npc_advisor
npc_advisor
User avatar

Joined: Sun Nov 09, 2008 8:21 am
Posts: 1160
Location: USA, FL
Has thanked: 26 times
Have thanks: 49 times
Pretty much what Shiftey said.

_________________
Have a question related to modding? PM me or message me on Steam(link below)

- [|YouTube|] - [|99 Bolts|] - [|Steam|] - [|Mod DB|] -


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group