Template:KV BmNewLightCookieSpot

From Valve Developer Community
Revision as of 09:22, 23 May 2025 by MyGamepedia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


ShadowFOV (ShadowFOV) <float>
Fov used by shadowmap camera for this light. Keep it 0 to use Outer angle as the fov.
Icon-Bug.pngBug:If value lower than OuterAngle value, the lights will have visual issues.
Example


Enable Texture Light (bTexLight) <choices>
Sets lightcookie (texture lights) state, enabled or disabled.
  • 0: Disabled
  • 1: Enabled
Examples
Warning.pngWarning:This is one of the most expensive features, use wisely.
Texture name for TexLight (texName) <string>
Determines which texture will use the light source. Lightcookies are using .vtf (not .vmt) texture from files (just like env_projectedtexture).
.Enable Prop Only Mode (bNegLight) <choices> Obsolete
Deprecated.
Sets prop only mode, which supposed to disable shadows for world geometry. Doesn't work. The same effect can be achieved with shadow pass settings.
  • 0: Disabled
  • 1: Enabled
TexCookieFramesX (TexCookieFramesX) <integer>
Number of frames in 1 row of atlas.
TexCookieFramesY (TexCookieFramesY) <integer>
Number of frames in 1 column of atlas.
TexCookieFps (TexCookieFps) <float>
The amount of time it takes to move to the next atlas frame.
Tex Cookie Scroll Mode (bTexCookieScrollMode) <choices>
Sets texture scrolling function state, enabled or disabled. ScrollSpeedU and ScrollSpeedV sets scrolling speed and direction.
  • 0: Disabled
  • 1: Enabled
ScrollSpeedU (fScrollSpeedU) <float>
Scrolling speed along Y axis.
ScrollSpeedV (fScrollSpeedV) <float>
Scrolling speed along X axis.