+2 votes

Hi,

How can I replicate the effect in the gif bellow? a simple 2d drop shadow effect?

enter image description here

in Engine by (14 points)

1 Answer

0 votes
by (9,778 points)

Thank you for answering, this is almost what i need. As can be seen in the gif, as the ball moves and rotates the shadow stays in place, at an offset, with the example from the project sprite_shaders, the shadow rotates with the sprite (https://streamable.com/4ej5z).
How can i fix this?

I'm not familiar with shader.
need to research and test with docs.
http://docs.godotengine.org/en/3.0/tutorials/shading/shading_language.html

Same, complete noob when it comes to shaders. Looks like a good time to start learning.

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.