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 |
No edit summary |
||
Line 1: | Line 1: | ||
{{Language subpage}}It is also available in other games that use it's source code. | {{Language subpage}}It is also available in other games that use it's source code. | ||
It creates real-time shadows and lighting coming from the sun. Similar to [[env_cascade_light]]. While this entity can be edited in hammer its more preferable to use the games [[light editor]], as you can actually see what you are doing. | |||
It creates real-time shadows and lighting coming from the sun. Similar to [[env_cascade_light]]. | |||
{{code class|CDeferredLightGlobal|CDefLightGlobal.cpp}} | {{code class|CDeferredLightGlobal|CDefLightGlobal.cpp}} | ||
{{confirm|Does this entity also exists in {{p2d|4}}?}} | {{confirm|Does this entity also exists in {{p2d|4}}?}} | ||
Line 21: | Line 20: | ||
{{Fl|2|Enable shadow|Enables dynamic shadows.}} | {{Fl|2|Enable shadow|Enables dynamic shadows.}} | ||
{{Fl|4|Enable transitions}}{{todo|what does this do?}} | {{Fl|4|Enable transitions}}{{todo|what does this do?}} | ||
== Inputs == | |||
{{I BaseEntity|base=1}} | |||
== Outputs == | |||
{{O BaseEntity|base=1}} | |||
== See also== | == See also== |
Revision as of 08:18, 21 February 2024


It is also available in other games that use it's source code.
It creates real-time shadows and lighting coming from the sun. Similar to env_cascade_light. While this entity can be edited in hammer its more preferable to use the games light editor, as you can actually 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?