Template:KV Source 2 Light Units: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Create Source 2 Light Units)
 
mNo edit summary
 
Line 1: Line 1:
{{ScrollBox|title=Source 2 Light Units|
{{ScrollBox|title=Source 2 Light Units|


{{KV|Units (brightness_units)|choices| Units for specifying the brightness of the light source.|only={{cs2|5}}}}
{{KV|Units (brightness_units)|choices| Units for specifying the brightness of the light source.}}
:*0: Lumens
:*0: Lumens
:*1: Candelas
:*1: Candelas
Line 7: Line 7:
:*3: EV
:*3: EV
:*4: Legacy
:*4: Legacy
{{KV|Candela (brightness_candelas)|string| Amount of light energy emitted per steradian of solid angle, in candela.|only={{cs2|5}}}}
{{KV|Candela (brightness_candelas)|string| Amount of light energy emitted per steradian of solid angle, in candela.}}
{{KV|Nits (brightness_nits)|string| Amount of light energy emitted per square meter per projected steradian, in nits. Controls the brightness of specular highlights and directly-viewed light geometry.|only={{cs2|5}}}}
{{KV|Nits (brightness_nits)|string| Amount of light energy emitted per square meter per projected steradian, in nits. Controls the brightness of specular highlights and directly-viewed light geometry.}}
{{KV|Brightness EV (brightness)|float| On-screen brightness of a white point directly facing the light source 100 units away, in powers of 2. A light with EV=1 is 2x brighter than a light with EV=0, 4x with EV=2, 8x with EV=3, and so on.|only={{cs2|5}}}}
{{KV|Brightness EV (brightness)|float| On-screen brightness of a white point directly facing the light source 100 units away, in powers of 2. A light with EV=1 is 2x brighter than a light with EV=0, 4x with EV=2, 8x with EV=3, and so on.}}
{{KV|Legacy (brighness_legacy)|string| Exposure Value but specified as a scale value instead of powers of 2.|only={{cs2|5}}}}}}
{{KV|Legacy (brighness_legacy)|string| Exposure Value but specified as a scale value instead of powers of 2.}}}}


<noinclude>
<noinclude>
[[Category:KeyValue Templates|Source 2 Light Units]]
[[Category:KeyValue Templates|Source 2 Light Units]]
</noinclude>
</noinclude>

Latest revision as of 13:30, 24 October 2023

Source 2 Light Units:


Units (brightness_units) ([todo internal name (i)]) <choices>
Units for specifying the brightness of the light source.
  • 0: Lumens
  • 1: Candelas
  • 2: Nits
  • 3: EV
  • 4: Legacy
Candela (brightness_candelas) ([todo internal name (i)]) <string>
Amount of light energy emitted per steradian of solid angle, in candela.
Nits (brightness_nits) ([todo internal name (i)]) <string>
Amount of light energy emitted per square meter per projected steradian, in nits. Controls the brightness of specular highlights and directly-viewed light geometry.
Brightness EV (brightness) ([todo internal name (i)]) <float>
Legacy (brighness_legacy) ([todo internal name (i)]) <string>
Exposure Value but specified as a scale value instead of powers of 2.