0 votes


I'm new to 3D in Godot and I'd like to make a game a bit like Paper Mario, with 2D flat drawings in a 3D space.
I used a 3D Sprite for my character, transparent with the alpha cut "Opaque pre-pass" so it would cast a shadow.

The problem is that its shadow is not quite where it's supposed to be.
(same problem with mesh instances as well)

(there's a gap between the intersection 'ground x character' and where the shadow actually starts)

What did I do wrong ?
Thanks !

in Engine by (247 points)

1 Answer

0 votes
Best answer

ok, so the Shadow Bias setting in the Spotlight node is for some reasons set to 0.15 as default.
I put the value to 0 and it fixed this issue :)

by (247 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.