Template:KV Shadow

From Valve Developer Community
Revision as of 21:41, 30 May 2019 by Deprecated (talk | contribs) (Added some FGD information)
Jump to navigation Jump to search
Shadow:
Disable shadows (disableshadows) ([todo internal name (i)]) <boolean>
Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.
Disable ShadowDepth (disableshadowdepth) ([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 (shadowdepthnocache) ([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 (disableflashlight) ([todo internal name (i)]) <boolean> (in all games since Portal 2)
Used to disable projected texture lighting and shadows on this entity.