- Home /
Question by
Nazirzadeh · Aug 30, 2016 at 12:10 PM ·
shadershadow
Stylish shadow / Patterned shadow
I have a spot light and a cube in my scene. The shadow of the cube is normal. I need to add a pattern or texture to the cube shadow. I can change the color of the shadow but I can not assign a texture or a pattern to the shadow. Is there any way to solve this problem? Can I solve this problem with shader?
Comment
I don't think it's possible. There's been some talk about editing light attenuation, but I never got it to work and it's pretty hacky anyway, and probably wouldn't let you do what you want to achieve. $$anonymous$$aybe you can try simulating the shadow effect with a light cookie?
Best Answer
Answer by Nazirzadeh · Aug 30, 2016 at 07:22 PM
I have found a way.
http://forum.unity3d.com/threads/colored-shadows-the-incredible-colored-shadows.260508/