poke1024 / tove2d

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

"Best" quality gradient seems to handle alpha incorrectly #17

Closed pdesaulniers closed 5 years ago

pdesaulniers commented 5 years ago

Here's a modified svg from the gradients demo: gradients.svg.zip

The "best" gradient should look like the "fast" one, but it doesn't: 2019-03-23-08:33:07

Originally posted by @pdesaulniers in https://github.com/poke1024/tove2d/issues/16#issuecomment-475866283

poke1024 commented 5 years ago

I've changed the gradients.svg in the demo to your version, as it's a good regression test for transparency and it also shows the banding in fast even better than my version.

pdesaulniers commented 5 years ago

Good!

Also, it's interesting to see that the mesh renderer has slightly less apparent banding than the "best" texture in the demo, which I didn't expect.