Template:KV Shadow:zh-cn: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (Move Category to zh-cn) |
Kestrelguy (talk | contribs) m (added choice between pre- and post-Portal 2 versions. the latter is still the default.) |
||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:KV Shadow}}</noinclude> | <noinclude>{{lang|Template:KV Shadow}} | ||
{{ScrollBox|title=Shadow| | </noinclude>{{ScrollBox|title=Shadow| | ||
{{KV:zh-cn|Disable Shadows|intn=disableshadows|boolean|如果实体是{{ent|prop_static}},则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响[[ | {{KV:zh-cn|Disable Shadows|intn=disableshadows|boolean|如果实体是{{ent:zh-cn|prop_static}},则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响[[env_projectedtexture:zh-cn|阴影贴图]]。}} | ||
{{KV:zh-cn|Disable ShadowDepth|intn=disableshadowdepth|boolean| | {{#if: {{{prep2|}}} | |{{KV:zh-cn|Disable ShadowDepth|intn=disableshadowdepth|boolean|用于禁用此实体的阴影深度渲染(对于投影纹理)。|since=P2}} | ||
{{KV:zh-cn|Projected Texture Cache|intn=shadowdepthnocache|choices| | {{KV:zh-cn|Projected Texture Cache|intn=shadowdepthnocache|choices|用于提示投影纹理系统是否足以缓存该实体的阴影体积或强制每帧渲染它。|since=P2}} | ||
:* 0 : Default <nowiki>|</nowiki> 默认 | :* 0 : Default <nowiki>|</nowiki> 默认 | ||
:* 1 : No cache - render every frame <nowiki>|</nowiki> 无缓存 - 渲染每一帧 | :* 1 : No cache - render every frame <nowiki>|</nowiki> 无缓存 - 渲染每一帧 | ||
:* 2 : Cache it - render only once <nowiki>|</nowiki> 缓存它 - 只渲染一次 | :* 2 : Cache it - render only once <nowiki>|</nowiki> 缓存它 - 只渲染一次 | ||
{{KV:zh-cn|Disable flashlight|intn=disableflashlight|boolean|用于禁用该实体上的[[env_projectedtexture|投影纹理]]光照和阴影。|since=P2}} | {{KV:zh-cn|Disable flashlight|intn=disableflashlight|boolean|用于禁用该实体上的[[env_projectedtexture:zh-cn|投影纹理]]光照和阴影。|since=P2}} | ||
}}<noinclude> | }} }}<noinclude> | ||
[[Category:Keyvalue Templates:zh-cn|Shadow]] | [[Category:Keyvalue Templates:zh-cn|Shadow]] | ||
</noinclude> | </noinclude> |
Revision as of 09:10, 30 April 2022
Shadow:
- Disable Shadows
(disableshadows)
<boolean> - 如果实体是prop_static,则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响阴影贴图。
- Disable ShadowDepth
(disableshadowdepth)
<boolean> (in all games since)
- 用于禁用此实体的阴影深度渲染(对于投影纹理)。
- Projected Texture Cache
(shadowdepthnocache)
<choices> (in all games since)
- 用于提示投影纹理系统是否足以缓存该实体的阴影体积或强制每帧渲染它。
- 0 : Default | 默认
- 1 : No cache - render every frame | 无缓存 - 渲染每一帧
- 2 : Cache it - render only once | 缓存它 - 只渲染一次