Template:I Shadow: Difference between revisions
Jump to navigation
Jump to search
Tip:Use
Kestrelguy (talk | contribs) (added choice between pre- and post-Portal 2 versions. the latter is still the default.) |
Kestrelguy (talk | contribs) m (I forgot to actually add the functionality.) |
||
Line 4: | Line 4: | ||
{{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}} | {{#if: {{{prep2|}}} | |{{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> | }}</onlyinclude> | ||
[[Category:Input Templates|Shadow]] | [[Category:Input Templates|Shadow]] |
Revision as of 08:22, 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.