Template:KV Shadow:zh-cn: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) mNo edit summary |
m (- changed links to :lang suffix redirect pages to the redirected link) |
||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:KV Shadow}}[[Category:Keyvalue Templates:zh-cn|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}},则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响[[ | {{KV:zh-cn|Disable Shadows|intn=disableshadows|boolean|如果实体是{{ent:zh-cn|prop_static}},则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响[[Env projectedtexture/zh|阴影贴图]]。}} | ||
{{#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}} | ||
Line 7: | Line 7: | ||
:* 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|用于禁用该实体上的[[ | {{KV:zh-cn|Disable flashlight|intn=disableflashlight|boolean|用于禁用该实体上的[[Env projectedtexture/zh|投影纹理]]光照和阴影。|since=P2}} | ||
}} }} | }} }} |
Revision as of 12:18, 4 July 2024
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 | 缓存它 - 只渲染一次