Help with tree shadow

Godot Version

godot 4

Question

Hello guys, I am new to godot and game development so I dont know how to create shadows for trees,i mean i tried to draw shadow with tree in asesprite but because i was using sprite ordering, the shadow was overlaping the player so it looks not good, so i separeted the shadow but because my trees are tiles i need to every time add shadow to it so I dont know what to do,any ideas? There is my game screenshot.

You can draw shadows and export them as a different Sprite,then add 1 to the tree sprites z-index.And if you are using tilemap then check this video.This may help you : )

1 Like

I watched the video but i didn’t see how he used shadows, only how to setup the ordering, it wss useful but not what I want, because of i am not using trees as sprites i can’t add shadows sprite to them that’s the problem.

1 Like

Okay so now what type of shadow you want like just a shadow that lies in the bottom of the tree or a angled shadow?


i want like this, i added the shadow as tile and add to tree manually but its very hard so its not what i want too(

This may work

Idk but same :sweat_smile:

1 Like

Just try…




there is my tiles so i don’t understand how to make as in the video…

Hmmmm,This guy can explain you what you needed !

yes this worked, thanks a lot for helping !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.