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
Light Attenuation causes jagged self-shadows
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Light Attenuation causes jagged self-shadows
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.
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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!