- Home /
How to remove shadow from a particular object on a some other particular object in unity
i have a simple setup with a ball and a ring. the ball is bigger than the ring and the ring has a oval shape. So when i make the ball pass through the ring, the ball overlaps a part of the ring which is not desirable.
i don't want to use a second camera and camera stacking, so i use custom forward renderer of URP.
Now i achieved what i wanted. The ring always looks on top of the ball, but the shadow of the ball still falls on the ring which looks wierd. How do i fix that?
Hi, I am not sure this would help. This seems like a workaround for me. Try adding a collider for both the ring and the ball. When the ball overlaps the ring, trigger an event (using Collision), which turns off the shadow. Check this. I haven't tried it. Just a thought.
Your answer
Follow this Question
Related Questions
Diffuse fullforwardshadows shader 0 Answers
URP lighting tab missing 1 Answer
Universal Render Pipeline use 2D and 3D lights at the same time 0 Answers
Sprite Shading 1 Answer
Light creates distortion on mesh? 1 Answer