what do you mean?
my character scene is currently like this:
< Character (kinematic body)
<< CollisionShape
<< SpriteGroup(node2D)
<<< Body sprites
<<< Weapon sprites+area2D
where would you place the viewport?
by the way, i'm ok with writing a new shader, but from what i understood the shader require a starting point (being the texture of a sprite uising TEXTURE
, or the viewport, using SCREEN_TEXTURE
) that i dont know how to get.
Basically, i need somehow to get the pixel image of the sprite group alone, separated from the background/environment (this is why i tried to use viewport)