Template:KV BmNewLightCookieMain: Difference between revisions
Jump to navigation
Jump to search
Warning:This is one of the most expensive features, use wisely.
MyGamepedia (talk | contribs) (Created page with "{{KV|Enable Texture Light|intn=bTexLight|choices|Sets lightcookie (texture lights) state, enabled or disabled. For {{ent|NewLight_Point}}, you need static cubemap texture. For {{ent|NewLight_Spot}}, you can use any texture with '''No Mipmap''' and '''No Level Of Detail''' flags. *0: Disabled *1: Enabled {{expand|margin_left=2em|title=Examples| <gallery mode=packed heights=290px> File:cTEDisabled.jpg |Disabled File:cTEEnabled.jpg |Enabled </gallery> }} :{{tip|Follow $en...") |
MyGamepedia (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{KV|Enable Texture Light|intn=bTexLight|choices|Sets lightcookie (texture lights) state, enabled or disabled | <!--Purpose: | ||
*0: Disabled | We are using this template for one or multiple pages related to Black Mesa new light entities. These templates allows you to use the same text for entities that have many identical properties, without having to make the same changes for several pages separately. This template is also may used in some other templates.--> | ||
*1: Enabled | {{KV|Enable Texture Light|intn=bTexLight|choices|Sets lightcookie (texture lights) state, enabled or disabled. | ||
{{expand | :*0: Disabled | ||
:*1: Enabled | |||
:{{expand|title=Examples| | |||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
File: | File:lightcookie0.jpg |Disabled | ||
File: | File:lightcookie1.jpg |Enabled | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{warning|This is one of the most expensive features, use wisely.}} | |||
}} | }} | ||
{{KV|Texture name for TexLight|intn=texName|string|Determines which texture will use the light source. Lightcookies are using .vtf (not .vmt) texture from files (just like {{ent|env_projectedtexture}}).}} | {{KV|Texture name for TexLight|intn=texName|string|Determines which texture will use the light source. Lightcookies are using .vtf (not .vmt) texture from files (just like {{ent|env_projectedtexture}}).}} | ||
{{KV|.Enable Prop Only Mode|intn=bNegLight|choices| | {{KV|.Enable Prop Only Mode|intn=bNegLight|choices|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 | |||
*0: Disabled | :*1: Enabled | ||
*1: Enabled}} | |deprecated=1}} |
Latest revision as of 07:37, 24 June 2025
- 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).