Template:I Shadow: Difference between revisions
Jump to navigation
Jump to search
Tip:Use
Deprecated (talk | contribs) m (Specified what shadows DisableShadow and EnableShadow affect) |
Kestrelguy (talk | contribs) (added choice between pre- and post-Portal 2 versions. the latter is still the default.) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Shadow| | {{lang|Template:I Shadow}} | ||
{{tip|Use <code>{{!}}prep2{{=}}1</code> when calling this template to hide the inputs added in ''Portal 2''.}} | |||
<onlyinclude>{{ScrollBox|title=Shadow| | |||
{{IO|DisableShadow|Turn [[Lighting#Dynamic_shadows|dynamic shadows]] off for this entity.}} | {{IO|DisableShadow|Turn [[Lighting#Dynamic_shadows|dynamic shadows]] off for this entity.}} | ||
{{IO|EnableShadow|Turn [[Lighting#Dynamic_shadows|dynamic shadows]] on for this entity.}} | {{IO|EnableShadow|Turn [[Lighting#Dynamic_shadows|dynamic shadows]] on for this entity.}} | ||
{{IO|DisableReceivingFlashlight|This object will not receive light or shadows from [[env_projectedtexture|projected textures]].|since=P2}} | {{IO|DisableReceivingFlashlight|This object will not receive light or shadows from [[env_projectedtexture|projected textures]].|since=P2}} | ||
{{IO|EnableReceivingFlashlight|This object may receive light or shadows from [[env_projectedtexture|projected textures]].|since=P2}} | {{IO|EnableReceivingFlashlight|This object may receive light or shadows from [[env_projectedtexture|projected textures]].|since=P2}} | ||
}}< | }}</onlyinclude> | ||
[[Category:Input Templates|Shadow]] | [[Category:Input Templates|Shadow]] | ||
Revision as of 08:20, 30 April 2022

|prep2=1
when calling this template to hide the inputs added in Portal 2.Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity.
- 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.