Template:KV Shadow:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Move Category to zh-cn)
Line 9: Line 9:
{{KV:zh-cn|Disable flashlight|intn=disableflashlight|boolean|用于禁用该实体上的[[env_projectedtexture|投影纹理]]光照和阴影。|since=P2}}
{{KV:zh-cn|Disable flashlight|intn=disableflashlight|boolean|用于禁用该实体上的[[env_projectedtexture|投影纹理]]光照和阴影。|since=P2}}
}}<noinclude>
}}<noinclude>
[[Category:Keyvalue Templates|Shadow]]
[[Category:Keyvalue Templates:zh-cn|Shadow]]
</noinclude>
</noinclude>

Revision as of 00:02, 3 October 2021

Shadow:
Disable Shadows (disableshadows) <boolean>
如果实体是prop_static,则阻止实体创建廉价的渲染到纹理阴影或光照贴图阴影。不影响阴影贴图
Disable ShadowDepth (disableshadowdepth) <boolean> (in all games since Portal 2)
用于禁用此实体的阴影深度渲染(对于投影纹理)。
Projected Texture Cache (shadowdepthnocache) <choices> (in all games since Portal 2)
用于提示投影纹理系统是否足以缓存该实体的阴影体积或强制每帧渲染它。
  • 0 : Default | 默认
  • 1 : No cache - render every frame | 无缓存 - 渲染每一帧
  • 2 : Cache it - render only once | 缓存它 - 只渲染一次
Disable flashlight (disableflashlight) <boolean> (in all games since Portal 2)
用于禁用该实体上的投影纹理光照和阴影。