Template:KV BmNewLightCookieSpot: Difference between revisions
Jump to navigation
Jump to search
Bug:If value lower than OuterAngle value, the lights will have visual issues.
Warning:This is one of the most expensive features, use wisely.
Note:If value lower than 1 - you'll get message in the developer console:
Note:If value lower than 1 - you'll get message in the developer console:
MyGamepedia (talk | contribs) No edit summary Tag: Reverted |
MyGamepedia (talk | contribs) (Undo revision 461168 by MyGamepedia (talk)) Tag: Undo |
||
Line 7: | Line 7: | ||
--> | --> | ||
{{KV|ShadowFOV|intn=ShadowFOV|float|Fov used by shadowmap camera for this light. Keep it 0 to use Outer angle as the fov. | {{KV|ShadowFOV|intn=ShadowFOV|float|Fov used by shadowmap camera for this light. Keep it 0 to use Outer angle as the fov. | ||
{{bug|hidetested=1|If value lower than OuterAngle value, the lights will have visual issues.{{expand|title= | {{bug|hidetested=1|If value lower than OuterAngle value, the lights will have visual issues.}} | ||
{{expand|title=The bug example| | |||
<gallery mode=packed heights=420px> | <gallery mode=packed heights=420px> | ||
File:ShadowFOVBUG.jpg| frame | ShadowFOV value is 70 here, but OuterAngle value is 140. | File:ShadowFOVBUG.jpg| frame | ShadowFOV value is 70 here, but OuterAngle value is 140. | ||
</gallery> | </gallery> | ||
}} | }} | ||
}} | }} |
Revision as of 00:44, 18 January 2025
- ShadowFOV (ShadowFOV) <float>
- Fov used by shadowmap camera for this light. Keep it 0 to use Outer angle as the fov.

|
- Enable Texture Light (bTexLight) <choices>
- Sets lightcookie (texture lights) state, enabled or disabled.
- 0: Disabled
- 1: Enabled
Examples

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

TexCookieFramesX for LightSpot - class C_NewLightSpot CookieName - TEXTURENAME.vtf is 0. Are you sure this light is using texcookie? If yes then set this property to at least 1.
- TexCookieFramesY (TexCookieFramesY) <integer>
- Number of frames in 1 column of atlas. Also sets scale for texture, with 2 and higher it allows TexCookieFps to animate texture.

TexCookieFramesY for LightSpot - class C_NewLightSpot CookieName - TEXTURENAME.vtf is 0. Are you sure this light is using texcookie? If yes then set this property to at least 1.
|
- TexCookieFps (TexCookieFps) <float>
- Frame rate for animation. This entity divides texture into several parts (their count is indicated in TexCookieFramesY) and changes them in a specific sequence.
- 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.
|