Template:KV Shadow: Difference between revisions
Jump to navigation
Jump to search
Tip:add
(-expand choices, order) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|Template:KV Shadow}} | |||
{{tip|add <code>{{!}}prep2{{=}}1</code> to hide the KVs added in ''Portal 2''.}} | {{tip|add <code>{{!}}prep2{{=}}1</code> to hide the KVs added in ''Portal 2''.}} | ||
< | <onlyinclude>{{minititle|Shadow}} | ||
{{KV|Disable Shadows|intn=disableshadows|boolean|Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a {{ent|prop_static}}. Does not affect [[env_projectedtexture|shadow mapping]].}} | {{KV|Disable Shadows|intn=disableshadows|boolean|Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a {{ent|prop_static}}. Does not affect [[env_projectedtexture|shadow mapping]].}} | ||
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving dynamic shadows on itself.|nofgd={{{nofgd|}}}}} | {{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving dynamic shadows on itself.|nofgd={{{nofgd|}}}}} | ||
Line 12: | Line 12: | ||
:* 1 : No cache - render every frame | :* 1 : No cache - render every frame | ||
:* 2 : Cache it - render only once}} | :* 2 : Cache it - render only once}} | ||
}}</onlyinclude> | |||
[[Category:Keyvalue Templates|Shadow]] | [[Category:Keyvalue Templates|Shadow]] | ||
</noinclude> | </noinclude> |
Revision as of 07:48, 5 May 2024

|prep2=1
to hide the KVs added in Portal 2.Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable ShadowDepth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <choices> (in all games since
)
- 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.
|