Light deferred global: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Language subpage}}
{{Language subpage}}It is also available in other games that use it's source code.
{{this is a|name=light_deferred_global|e0|game=asd}} and other games that use it's source code.
For most optimal light placing use the game's built-in [[Light editor]].
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]].
It creates real-time shadows and lighting coming from the sun. Similar to [[env_cascade_light]].

Revision as of 16:01, 9 February 2024

English (en)Translate (Translate)

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 Portal 2: Desolation Portal 2: Desolation?

Keyvalues

Color diffuse (diffuse) <color255 + int>
Sets the light's color and brightness.
Color ambient high (ambient_high) <color255 + int>
Sets the light's ambient color and brightness.
Color ambient low (ambient_low) <color255 + int>
Todo: Whats the difference between this and High?
Fade interval time (fadetime) <float>
Todo: What does this do?

Flags

Enabled : [1]
Turns the light on.
Enable shadow : [2]
Enables dynamic shadows.
Enable transitions : [4]
Todo: what does this do?

See also