Template:KV Source 2 Light2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Create Source 2 Light2 Template for the Next-Gen Light Types from lights2.fgd)
 
mNo edit summary
 
Line 2: Line 2:


{{KV|Enabled (enabled)|bool| Enable or disable the light. Has no effect on Direct Lighting when set to Static.}}
{{KV|Enabled (enabled)|bool| Enable or disable the light. Has no effect on Direct Lighting when set to Static.}}
{{KV|Color Mode (colormode)|choices| How to calculate the light's color|only={{cs2|5}}}}
{{KV|Color Mode (colormode)|choices| How to calculate the light's color}}
:*0: Color
:*0: Color
:*1: Color Temperature
:*1: Color Temperature
{{KV|Color (color)|color255|}}
{{KV|Color (color)|color255|}}
{{KV|Color Temperature (colortemperature)|float|only={{cs2|5}}}}
{{KV|Color Temperature (colortemperature)|float}}
{{KV|Lumens (brightness_lumens)|float| Total amount of visible light energy emitted, in lumens. The default omni-directional light is calibrated at 1000 lumens, typical for a 60 Watt incandescent bulb.|only={{cs2|5}}}}
{{KV|Lumens (brightness_lumens)|float| Total amount of visible light energy emitted, in lumens. The default omni-directional light is calibrated at 1000 lumens, typical for a 60 Watt incandescent bulb.}}
{{KV|Direct Lighting (directlight)|choices| Controls direct lighting rendering.|only={{cs2|5}}}}
{{KV|Direct Lighting (directlight)|choices| Controls direct lighting rendering.}}
:*0: None
:*0: None
:*1: Static
:*1: Static

Latest revision as of 13:29, 24 October 2023

Source 2 Light2:


Enabled (enabled) ([todo internal name (i)]) <boolean>
Enable or disable the light. Has no effect on Direct Lighting when set to Static.
Color Mode (colormode) ([todo internal name (i)]) <choices>
How to calculate the light's color
  • 0: Color
  • 1: Color Temperature
Color (color) ([todo internal name (i)]) <color255>
Color Temperature (colortemperature) ([todo internal name (i)]) <float>
Lumens (brightness_lumens) ([todo internal name (i)]) <float>
Total amount of visible light energy emitted, in lumens. The default omni-directional light is calibrated at 1000 lumens, typical for a 60 Watt incandescent bulb.
Direct Lighting (directlight) ([todo internal name (i)]) <choices>
Controls direct lighting rendering.
  • 0: None
  • 1: Static
  • 2: Stationary
  • 3: Dynamic