Tinting a BitmapText in a CanvasRenderer should work the same as for a WebglRenderer.
When adding a tint to a BitmapText in CanvasRenderer mode, only the first letter in the xml <chars> group is shown (with the properties of the other letters). And the letter is not tinted.
pixi.js version: 5.0.3(comment line 8 to switch between webgl and canvas)
v4 works, v5 doesnt. Its interesting, what did we do wrong.. Thank you!
https://www.pixiplayground.com/#/edit/Cb6stLyzhuLCOEiaYcsZa
canvastinter fails.
PR build is here: https://pixijs.download/dev-canvas-tint/pixi-legacy.js
Seems to work in the example I posted.
Looking at the PR it also explains other bugs I have (basically since all my sprites are white (so they can be tinted) it looks like nothing is rendered).
Thanks a lot for your reactivity ! Will be on the lookout for v5.0.4 release :)
@ivanpopelyshev Thanks for the fix. What is the ETA for v5.0.4? We really want to migrate to v5 but are now blocked by this.
Hoping to get it out this week
Most helpful comment
Hoping to get it out this week