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