Template:KV Shadow:ru: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added Template:Lang)
m (added choice between pre- and post-Portal 2 versions. the latter is still the default.)
Line 2: Line 2:
{{ScrollBox|title=Shadow|
{{ScrollBox|title=Shadow|
{{KV:ru|Disable shadows|boolean|Prevent the entity from creating cheap render-to-texture shadows. Does not affect [[shadow mapping]].}}
{{KV:ru|Disable shadows|boolean|Prevent the entity from creating cheap render-to-texture shadows. Does not affect [[shadow mapping]].}}
{{KV:ru|Disable ShadowDepth|boolean|Used to disable rendering into shadow depth (for [[env_projectedtexture|projected textures]]) for this entity.|since=P2}}
{{#if: {{{prep2|}}} | |{{KV:ru|Disable ShadowDepth|boolean|Used to disable rendering into shadow depth (for [[env_projectedtexture|projected textures]]) for this entity.|since=P2}}
{{KV:ru|Projected Texture Cache|choices|Used to hint [[env_projectedtexture|projected texture system]] whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.|since=P2}}
{{KV:ru|Projected Texture Cache|choices|Used to hint [[env_projectedtexture|projected texture system]] whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.|since=P2}}
:* 0 : Default
:* 0 : Default
Line 8: Line 8:
:* 2 : Cache it - render only once
:* 2 : Cache it - render only once
{{KV:ru|Disable flashlight|bool|Used to disable [[env_projectedtexture|projected texture]] lighting and shadows on this entity.|since=P2}}
{{KV:ru|Disable flashlight|bool|Used to disable [[env_projectedtexture|projected texture]] lighting and shadows on this entity.|since=P2}}
}}<noinclude>
}} }}<noinclude>
[[Category:Keyvalue Templates:ru|Shadow]]
[[Category:Keyvalue Templates:ru|Shadow]]
</noinclude>
</noinclude>

Revision as of 09:07, 30 April 2022

Shadow:
Disable shadows ([todo internal name (i)]) <boolean>
Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.
Disable ShadowDepth ([todo internal name (i)]) <boolean> (in all games since Portal 2)
Used to disable rendering into shadow depth (for projected textures) for this entity.
Projected Texture Cache ([todo internal name (i)]) <choices> (in all games since Portal 2)
Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
  • 0 : Default
  • 1 : No cache - render every frame
  • 2 : Cache it - render only once
Disable flashlight ([todo internal name (i)]) <boolean> (in all games since Portal 2)
Used to disable projected texture lighting and shadows on this entity.