Light deferred global: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Confirm:Does this entity also exists in 
 Portal 2: Desolation?
		
	
No edit summary  | 
				m (Multipage removal)  | 
				||
| Line 1: | Line 1: | ||
{{  | {{LanguageBar}}  | ||
[[File:Light_environment.png|left|link=]]  | |||
{{this is a|point entity|name=light_deferred_global|game=Alien Swarm Deferred|game1=Lambda Wars}}  | |||
It creates real-time shadows and lighting coming from the sun. Similar to {{ent|env_cascade_light}}. While this entity can be edited in {{hammer|3.1}}, it's preferable to use the games [[light editor]] as you can see what you are doing.  | It creates real-time shadows and lighting coming from the sun. Similar to {{ent|env_cascade_light}}. While this entity can be edited in {{hammer|3.1}}, it's preferable to use the games [[light editor]] as you can see what you are doing.  | ||
{{code class|CDeferredLightGlobal|CDefLightGlobal.cpp}}  | {{code class|CDeferredLightGlobal|CDefLightGlobal.cpp}}  | ||
| Line 34: | Line 37: | ||
* [[Adding Light]]  | * [[Adding Light]]  | ||
* [[Intermediate Lighting]]  | * [[Intermediate Lighting]]  | ||
* [[Advanced Lighting]]  | * [[Advanced Lighting]]__NOTOC__  | ||
[[Category:Alien Swarm]]  | |||
[[Category:Lighting]]  | |||
[[Category:Alien Swarm Deferred]]  | |||
Revision as of 06:57, 12 July 2024

light_deferred_global  is a   point entity  available in 
 Alien Swarm Deferred and 
 Lambda Wars.
It creates real-time shadows and lighting coming from the sun. Similar to env_cascade_light. While this entity can be edited in Hammer, it's preferable to use the games light editor as you can see what you are doing.
Keyvalues
Light
- Fade interval time (fadetime) <float>
 - Todo: What does this do?
 
Base
- Name (targetname) <string>
 - The name that other entities use to refer to this entity.
 
- Pitch Yaw Roll (X Y Z) <angle>
 - This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
 
Flags
- Enabled : [1]
 - Turns the light on.
 
- Enable shadow : [2]
 - Enables dynamic shadows.
 
- Enable transitions : [4]Todo: what does this do?