Hi, Is there a way to erase what's already drawn on screen? I can't find a way to do so and nor any thread/tutorial/docs talks about this. I can't just draw white color on top of it since the canvas will have image as background. Thanks!
painting game with eraser
- Edited
hmm, shaders can discard fragments. Is that what you are looking for? Sounds like that's what you are after. http://docs.godotengine.org/en/3.0/tutorials/shading/shading_language.html#discarding
5 years later
Megalomaniak added the Godot Help tag .