Help understanding sprite frames/textures and get_frame_texture().
reddit.com·1d·
Discuss: r/godot
Flag this post

So, I have a use case where I want to configure a single sprite_frames resource, because sometimes in menus or cutscenes I want to use it in 2D on a sprite2D.

But I also am trying to figure out how I can apply the textures to a quad mesh, because for my 2.5D battle interface (it's a grid based tactics game), I can get it to render nicer with smoother edge blending if it is on a quadmesh instead of a sprite3D.

I tried the sprite3D approach, even going that route for my purposes I am using a shader to replace some colors in the original texture image (for instance where the equipment should be gripped by the hand, it replaces a bright green pixel with a skin color parameter).

On the sprite3D, the shader works perfectly if I use set_s...

Similar Posts

Loading similar posts...