Template:KV Source 2 Light: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Moved light appearance table to to keyvalue) |
||
Line 10: | Line 10: | ||
:*2: Baked Only | :*2: Baked Only | ||
{{KV|Shadow Near Clip Plane (nearclipplane)|float|Distance in game units for near clip plane for shadow map.}} | {{KV|Shadow Near Clip Plane (nearclipplane)|float|Distance in game units for near clip plane for shadow map.}} | ||
{{KV|Appearance (style)|choices|Various Custom Appearance | {{KV|Appearance (style)|choices|Various Custom Appearance presets.}} | ||
{{light appearances}} | |||
{{KV|Custom Appearance (pattern)|string|Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.}} | {{KV|Custom Appearance (pattern)|string|Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.}} | ||
{{KV|Start Fade Dist (fademindist)|float|Distance at which the light starts to fade (<0 : use fademaxdist).}} | {{KV|Start Fade Dist (fademindist)|float|Distance at which the light starts to fade (<0 : use fademaxdist).}} | ||
Line 34: | Line 35: | ||
{{KV|Linear Attenuation (attenuation1)|float}} | {{KV|Linear Attenuation (attenuation1)|float}} | ||
{{KV|Quadratic Attenuation (attenuation2)|float}} | {{KV|Quadratic Attenuation (attenuation2)|float}} | ||
{{KV|Light Source Radius (enabled)|float|The radius of the light source in game units. | {{KV|Light Source Radius (enabled)|float|The radius of the light source in game units.}}}} | ||
<noinclude> | <noinclude> | ||
[[Category:KeyValue Templates|Source 2 Light]] | [[Category:KeyValue Templates|Source 2 Light]] | ||
</noinclude> | </noinclude> |
Revision as of 07:51, 8 March 2020
Source 2 Light:
- Brightness (brightness) ([todo internal name (i)]) <float>
- The brightness of the light. The value can be increased over 1.0
- Cast Shadows (castshadows) ([todo internal name (i)]) <choices>
- Whether this light casts shadow.
- 0: No
- 1: Yes
- 2: Baked Only
- Shadow Near Clip Plane (nearclipplane) ([todo internal name (i)]) <float>
- Distance in game units for near clip plane for shadow map.
- Appearance (style) ([todo internal name (i)]) <choices>
- Various Custom Appearance presets.
- Custom Appearance (pattern) ([todo internal name (i)]) <string>
- Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.
- Start Fade Dist (fademindist) ([todo internal name (i)]) <float>
- Distance at which the light starts to fade (<0 : use fademaxdist).
- End Fade Dist (fademaxdist) ([todo internal name (i)]) <float>
- Maximum distance at which the light is visible (0 : don't fade out).
- Render to Cubemaps (rendertocubemaps) ([todo internal name (i)]) <boolean>
- If true, this geometry renders into baked cube maps
- Priority (priority) ([todo internal name (i)]) <integer>
- When the number of visible lights exceeds the rendering budget, higher priority lights are chosen for rendering first.
- Indirect Light Multiplier (bouncescale) ([todo internal name (i)]) <float>
- Multiplies the brightness of light bouncing of surfaces.
- Render Diffuse (renderdiffuse) ([todo internal name (i)]) <boolean>
- Toggles baking and rendering of diffuse lighting (per-pixel, lightmaps,light probe volumes and bounced light on cubemaps).
- Render Specular (renderspecular) ([todo internal name (i)]) <choices>
- Controls rendering of direct specular highlights.
- 0: Off
- 1: On - Render in real-time.
- 2: Bake into cubemaps (Source 1 behavior)
- Enabled (directlight) ([todo internal name (i)]) <choices>
- How direct lighting should be represented.
- 0: None
- 1: Baked
- 2: Per-Pixel
- 3: Mixed Todo: possibly deprecated
- Enabled (indirectlight) ([todo internal name (i)]) <choices>
- How indirect lighting should be represented.
- 0: None
- 1: Baked