Page 1 of 1

Light Attenuation causes jagged self-shadows

PostPosted: Sun Mar 17, 2019 4:54 pm
by Emertia
Hello, I'm fairly new to Amplify and I've been trying to make shaders with two-tone lighting. However, when I set an object to cast a shadow, it casts onto itself with a jagged effect. And when the object moves, the jaggedness moves around too. So my question is, how do I keep shadow casting enabled on the object without this effect?

https://imgur.com/a/fM5fwkx

Re: Light Attenuation causes jagged self-shadows

PostPosted: Wed Mar 20, 2019 12:39 pm
by Amplify_Borba
Hello, thank you for getting in touch and for your support!

You could disable Receive Shadows on that object, so that it will cast but not receive shadows.

However, if you want the object to be able to cast and receive shadows but ignore its own, I'm not sure on what to suggest since with Unity's shadow map approach it might be difficult to accomplish this kind of effect. You might need to set up a custom shader specifically for this.