Light deferred: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


== Keyvalues ==
== Keyvalues ==
{{todo|Document more things about it and also add images!}}
{{todo|Add images!}}
{{KV|Color diffuse|intn=_light|color255 + int}}
{{KV|Color diffuse|intn=_light|color255 + int|Sets the light's color and brightness.}}
{{KV|Color ambient|intn=_light|color255 + int}}
{{KV|Color ambient|intn=_light|color255 + int|Sets the light's ambient color and brightness.}}
{{KV|Color Radius|float}}
{{KV|Color Radius|float|}}
{{KV|Color Falloff powert|float}}
{{KV|Color Falloff powert|float}}
{{KV|Spotlight cone innert|float}}
{{KV|Spotlight cone innert|float}}

Revision as of 11:19, 9 February 2024

English (en)Translate (Translate)

light_deferred 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.

Confirm:Does this entity also exists in Portal 2: Desolation Portal 2: Desolation?

It creates an invisible dynamic light source that can shines in all directions or only one side.

Keyvalues

Todo: Add images!
Color diffuse (_light) <color255 + int>
Sets the light's color and brightness.
Color ambient (_light) <color255 + int>
Sets the light's ambient color and brightness.
Color Radius ([todo internal name (i)]) <float>
Color Falloff powert ([todo internal name (i)]) <float>
Spotlight cone innert ([todo internal name (i)]) <float>
Spotlight cone outer ([todo internal name (i)]) <float>
Visible distance ([todo internal name (i)]) <integer>
Visible fade range ([todo internal name (i)]) <integer>
Shadow distance ([todo internal name (i)]) <integer>
Shadow fade range ([todo internal name (i)]) <integer>
Cookie texture ([todo internal name (i)]) <string>
Lightstyle seed ([todo internal name (i)]) <integer>
Lightstyle amount ([todo internal name (i)]) <float>
Lightstyle speed ([todo internal name (i)]) <float>
Lightstyle smoothing ([todo internal name (i)]) <float>
Lightstyle random ([todo internal name (i)]) <float>

Flags

Todo: better grammar!
Enabled : [1]
Turns the light on.
Enable shadow : [2]
Enables dynamic shadows
Enable cookie : [4]
Enables cookies
Todo: what does this actually do?
Enable volumetrics : [8]
Enables realtime volumetric lighting.
Warning.pngWarning:This is quite a performance killer.
Enable lightstyle : [16]
Enables lightstyles
Todo: what does this actually do?

Choices

Point : [0]
Make the light sine in all directions.
Spot : [1]
Make it a spotlight.

Inputs

Empty

This article or section is empty. You can help by adding it.


Outputs

Empty

This article or section is empty. You can help by adding it.

See also