Hello,
I'm seeing this behaviour that I can't understand, when applying a tint color to a sprite while using canvas as renderer. Right now for CORS reasons we're forced to use canvas in our app. I say this because in webgl the issue doesn't happen.
The thing is the we're cutting images into stripes and applying a tint to each stripe, but this creates a line between the stripes:
https://codepen.io/rhernando/pen/8fb06d28861d63ca5a6868f88c71f150?editors=0010
Just click the button to apply/remove the tint and you'll see the issue.
Why this happens?, is there a way around this or is just what we get in canvas?
Best,
Rodrigo.
↧
Sprite Tint on Canvas
↧