Light deferred: Difference between revisions
Jump to navigation
Jump to search

Warning:
Confirm:Does this entity also exists in
Portal 2: Desolation?
Line 9: | Line 9: | ||
{{KV|Color diffuse|intn=_light|color255 + int|Sets the light's color and brightness.}} | {{KV|Color diffuse|intn=_light|color255 + int|Sets the light's color and brightness.}} | ||
{{KV|Color ambient|intn=_light|color255 + int|Sets the light's ambient color and brightness.}} | {{KV|Color ambient|intn=_light|color255 + int|Sets the light's ambient color and brightness.}} | ||
{{KV|Color Radius|float|}} | {{KV|Color Radius|float|{{todo}}}} | ||
{{KV|Color Falloff powert|float}} | {{KV|Color Falloff powert|float|{{todo}}}} | ||
{{KV|Spotlight cone innert|float}} | {{KV|Spotlight cone innert|float|{{todo}}}} | ||
{{KV|Spotlight cone outer|float}} | {{KV|Spotlight cone outer|float|{{todo}}}} | ||
{{KV|Visible distance|int}} | {{KV|Visible distance|int|{{todo}}}} | ||
{{KV|Visible fade range|int}} | {{KV|Visible fade range|int|{{todo}}}} | ||
{{KV|Shadow distance|int}} | {{KV|Shadow distance|int|{{todo}}}} | ||
{{KV|Shadow fade range|int}} | {{KV|Shadow fade range|int|{{todo}}}} | ||
{{KV|Cookie texture|str}} | {{KV|Cookie texture|str|Path to vtf or vgui projectable factory name.}} | ||
{{KV|Lightstyle seed|int}} | {{KV|Lightstyle seed|int|{{todo}}}} | ||
{{KV|Lightstyle amount|float}} | {{KV|Lightstyle amount|float|{{todo}}}} | ||
{{KV|Lightstyle speed|float}} | {{KV|Lightstyle speed|float|{{todo}}}} | ||
{{KV|Lightstyle smoothing|float}} | {{KV|Lightstyle smoothing|float|{{todo}}}} | ||
{{KV|Lightstyle random|float}} | {{KV|Lightstyle random|float|{{todo}}}} | ||
== Flags == | == Flags == |
Revision as of 11:46, 9 February 2024


light_deferred
is an e0 available in Alien Swarm Deferred.

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


It creates an invisible dynamic light source that can shines in all directions or only one side.
Keyvalues
Todo: Add images!
Flags
Todo: better grammar!
- Enabled : [1]
- Turns the light on.
- Enable shadow : [2]
- Enables dynamic shadows
- Enable cookie : [4]
- Enables cookiesTodo: what does this actually do?
- Enable volumetrics : [8]
- Enables realtime volumetric lighting.
Warning:This is quite a performance killer.
- Enable lightstyle : [16]
- Enables lightstylesTodo: what does this actually do?
Choices
- Point : [0]
- Make the light sine in all directions.
- Spot : [1]
- Make it a spotlight.
Inputs