Closed fgnm closed 2 years ago
We had a discussion a bit in the discord server, and it's better to mark this as not supported.
Here's a workaround deployed by @fgnm on their project: https://github.com/rednblackgames/h2d-libgdx-tinyvg-extension/blob/master/src/main/java/games/rednblack/h2d/extension/tinyvg/CpuTinyVGShapeDrawer.java
When using the
CpuSpriteBatch
or any other variant of it, gradients are displayed incorrectly. This is how looks like with normalSpriteBatch
:This is with
CpuSpriteBatch
: The second color looks disappeared. There might be problems while calculating gradient positions from the Batch.Thanks ;)