Light deferred global: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fix this is a)
No edit summary
Line 2: Line 2:
{{this is a|name=light_deferred_global|e0|game=asd}} and 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]].
{{confirm|Does this entity also exists in {{p2d|4}}?}}
{{confirm|Does this entity also exists in {{p2d|4}}?}}
It creates real-time shadows and lighting coming from the sun. Similar to [[env_cascade_light]].
{{clr-left}}
{{clr-left}}


Line 9: Line 10:
{{KV|Color diffuse|intn=diffuse|color255 + int|Sets the light's color and brightness.}}
{{KV|Color diffuse|intn=diffuse|color255 + int|Sets the light's color and brightness.}}
{{KV|Color ambient high|intn=ambient_high|color255 + int|Sets the light's ambient color and brightness.}}
{{KV|Color ambient high|intn=ambient_high|color255 + int|Sets the light's ambient color and brightness.}}
{{KV|Color ambient low|intn=ambient_low|color255 + int|Sets the light's ambient color and brightness.}}
{{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?}}}}


Line 16: Line 17:
{{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 ==
{{empty}}
== Outputs ==
{{empty}}


== See also==
== See also==

Revision as of 13:57, 9 February 2024

English (en)Translate (Translate)

light_deferred_global is an e0 available in Alien Swarm Deferred Alien Swarm Deferred.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{asd}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Alien Swarm Deferred.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

and 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