poke1024 / tove2d

Animated vector graphics for LÖVE.
Other
171 stars 8 forks source link

Textured fill #29

Open nikki93 opened 4 years ago

nikki93 commented 4 years ago

I was wondering how hard it would be to get a textured fill option--probably a new Paint type like the current color and gradient ones. Even if not implementing some kind of SVG feature / spec, this would be pretty useful in games for mixing colored and textured parts in art stored in a game-specific format (personally my application will probably include some kind of built-in drawing tool).

If the 'custom shaders' feature is implemented for meshes too it could be used for this. I'm currently having some issues with precision in gpux on mobile so prefer mesh / textured usually.