+1 vote

Hi,

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

enter image description here

asked Apr 2, 2018 in Engine by diogo_0 (13 points)

1 Answer

0 votes
answered Apr 3, 2018 by volzhs (9,462 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 How to use this Q&A? before posting your first questions.