0 votes

Hello! I'm trying to make the move into 3D dev and I'm hitting the wall pretty hard with some lighting / shadow problems, but I'm not sure where to begin looking.

In the screenshot below, you can see a model I've made that has a pretty simple shape to it, (effectively just a cube with some an indented face on one side). When shadows are being cast though, they don't seem to be being cast inline with the surface that is blocking the light, but rather the line of the shadow looks "spikey" (see the shadow in the draw for an example).

Also, there is quite a high amount of self shadowing you can see on the side.

I have tried altering the bias and contact options, and although the contact option seems to help fix the jaggedy shadow edges, it seems to emphasis the self shadowing, which I can't get rid of without displacing the shadows badly.

enter image description here

I tried importing the model into UE4 as well, to see if there is something about my model that isn't right, and there were some weird problems in there too. You can see the bits I've circled in this screenshot in UE4 that there's weird self shadowing, so I'm not sure if it's my model I need to be looking at, or if I need to be tweaking something in my Godot project

enter image description here

if I render the model in Blender though, it doesn't seem to do it, so I am running in circles a bit trying to figure out where my problem is

enter image description here

I've put the model on SketchFab, if inspecting it can help anyone point me in the right direction if it is model related rather than game engine specific: https://sketchfab.com/3d-models/drawers-ce195c7adddb44d2bf963c526756362a

Godot version v3.2.3
in Engine by (24 points)

Please log in or register to answer this question.

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.