Light deferred global: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Confirm:Does this entity also exists in
 Confirm:Does this entity also exists in  Portal 2: Desolation?
 Portal 2: Desolation?
 Note:The Pitch and Yaw can be changed in the Light editor.
Note:The Pitch and Yaw can be changed in the Light editor.
		
	
| Line 13: | Line 13: | ||
| {{KV|Color ambient low|intn=ambient_low|color255 + int|{{todo|Whats the difference between this and High?}}}} | {{KV|Color ambient low|intn=ambient_low|color255 + int|{{todo|Whats the difference between this and High?}}}} | ||
| {{KV|Fade interval time|intn=fadetime|float|{{todo|What does this do?}}}} | {{KV|Fade interval time|intn=fadetime|float|{{todo|What does this do?}}}} | ||
| ===Base === | |||
| {{KV|Name|intn=targetname|string|The name that other entities use to refer to this entity.}} | |||
| {{KV|Pitch Yaw Roll|intn=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 == | == Flags == | ||
Revision as of 11:59, 12 February 2024

 
It is also available in other games that use it's source code.
For most optimal light placing use the game's built-in Light editor. It creates real-time shadows and lighting coming from the sun. Similar to env_cascade_light.
 Confirm:Does this entity also exists in
 Confirm:Does this entity also exists in  Portal 2: Desolation?
 Portal 2: Desolation?Keyvalues
 Note:The Pitch and Yaw can be changed in the Light editor.
Note:The Pitch and Yaw can be changed in the Light editor.Todo: Add images!
- 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?























