Light Attenuation causes jagged self-shadows

Node-based Shader Editor

Light Attenuation causes jagged self-shadows

Postby Emertia » Sun Mar 17, 2019 4:54 pm

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
Emertia
 
Posts: 1
Joined: Sun Mar 17, 2019 4:29 pm

Re: Light Attenuation causes jagged self-shadows

Postby Amplify_Borba » Wed Mar 20, 2019 12:39 pm

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.
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 8 guests