viniciusgerevini / godot-aseprite-wizard

Godot Editor plugin to help import Aseprite animations to AnimationPlayers, AnimatedSprites and SpriteFrames.
MIT License
821 stars 42 forks source link

Add QuadMesh Support. [Feature Request] #156

Open vxSpctr opened 2 months ago

vxSpctr commented 2 months ago

It would be great to add QuadMesh support as this will allow the opportunity to also add Normal Maps as texture, as a workaround of the lack of Normal Maps for the Sprite3D and AnimatedSprite3D. Reference https://github.com/godotengine/godot/pull/57830#issuecomment-2073832180

I've been manually adding the sprite sheets and animating one by one the UV offset to trigger the animations, so I feel this tool is the right place to implement such feature. Reference https://youtube.com/shorts/qxV7XftKGMs?si=ZiScakvDlsBN-82Q

If anyone is interested behind the logic of this, is just a matter of automating the process of creating the UV offset track for the QuadMesh material override and set the texture uv to match the amount of columns and rows to work with.

I have not had the chance to wrap my head around it, if I find a way I may will fork the project and implement it, but for now, just wanted to let the idea out of my head.

viniciusgerevini commented 2 months ago

Thanks for the suggestion. This looks doable, but likely a lot of work. Also I believe we'd have to limit the features supported, as things like slices are not possible with just the offset. I'll have to try the mesh approach to understand what can be done there. Thanks for the references.