Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Pyr | |
Old Version | Published before Godot 3 was released. |
Hi everyone!
I recently began to look into Godot’s shading language, and I’m having quite a hard time understanding how to actually code in it (I’m new to programming).
I want my sprites to have a drop shadow (as in example 8 of the demo project “2D shaders for sprites”) and I want the radius of the shadow to change with time. To be more specific, I want it to grow bigger and smaller in loop. Can someone help me in achieving this?
Also, since I’m working on a mobile game, I was wondering: achieving glow and shadow effects with shaders instead of sprites is much more convenient for me, but is it efficent for the device? Is it better to rely on RAM instead of GPU?
Have you managed to implement this with the help of eons answer?
If so, could you imagine to show how you did this?
Cause I’m trying to do something like that and it would help a lot as a starting point.
Thank you!
TobiLa | 2018-02-17 09:28