Hi, in my 2d shooting project, I have two types of tilemap: Wall and Ground, and I have two types of blood splash animation to show on each type of tilemap, as shown in below in yellow and blue rectangle. The blood animation is composed of multiple random spawned blood sprite, and I want to prevent some of the blood sprites rendered outside the tilemap bounding box.
I'm new to godot and godot shader, so any help is appreciated, thanks!