0 votes

https://imgur.com/T36esXD

https://imgur.com/ajJWjNl

How could I add a shadow like the one shown in the second picture edited with GIMP, I've looked all over but I can only find lighting tutorials for top down games, I also want the same effect for the cube and the background so it would have to be dynamic.

in Engine by (22 points)

I guess same rules apply to side-scrollers. put a Light2D above the level and add a LightOccluder2D to every shadow casting object

Won't that make the shadows cast downward instead of into the background?

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 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 webmaster@godotengine.org with your username.