Draw Scene Object can be used for spotlight shadows. Add this component to a light projector object, and set culling mask to render the shadows of shadow cater objects. For more details, see Spotlight sample.

Field Description
Replacement Shader Set a replacement shader to draw shadows. Default shader is “Hidden/DynamicShadowProjector/Shadow/Replacement”
Culling Mask Set layers of shadow caster objects.


Leave a Reply

Your email address will not be published. Required fields are marked *

Anti Spam Code *