Template:I Shadow: Difference between revisions
Jump to navigation
Jump to search

Tip:Use
Kestrelguy (talk | contribs) mNo edit summary |
mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Strings notice}} | ||
{{ | [[Category:Input Templates|Shadow]]{{Seealso|{{T|KV Shadow}}}} | ||
<onlyinclude>{{ | {{Tip|Use {{Code|{{P|prep2|1}}}} when calling this template to hide the inputs added in ''Portal 2''.}} | ||
{{ | <onlyinclude>{{Minititle|Shadow}} | ||
{{ | {{I|DisableShadow|Turn [[Lighting#Dynamic_shadows|dynamic shadows]] off for this entity. Identical to applying  {{Ent|EF_NOSHADOW}}.}} | ||
{{#if: {{{prep2|}}} | |{{ | {{I|EnableShadow|Turn dynamic shadows on for this entity.}} | ||
{{ | {{#if: {{{prep2|}}} | | | ||
{{I|DisableReceivingFlashlight|This object will not receive light or shadows from [[env_projectedtexture|projected textures]].|since=P2}} | |||
{{I|EnableReceivingFlashlight|This object may receive light or shadows from projected textures.|since=P2}} }}</onlyinclude> | |||
Latest revision as of 05:17, 30 September 2025
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.
See also: {{KV Shadow}}
|prep2=1 when calling this template to hide the inputs added in Portal 2.Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity. Identical to applying EF_NOSHADOW.
- EnableShadow
- Turn dynamic shadows on for this entity.
- DisableReceivingFlashlight (in all games since
) - This object will not receive light or shadows from projected textures.
- EnableReceivingFlashlight (in all games since
) - This object may receive light or shadows from projected textures.