question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graphics' unexpected comportement while tinting with 2d context.

See original GitHub issue

Expected Behavior

Only one graphics will be tinted (same as webgl context)

Current Behavior

Every graphics are tinted

Possible Solution

??

Steps to Reproduce

tint some graphics from the same geometry

Environment

  • pixi.js version: 5.2.1 legacy and dev version
  • Browser & Version: chrome 80.0.3987.132
  • OS & Version: Windows 10.0.18362.720
  • Running Example: here

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ivanpopelyshevcommented, Mar 25, 2020

It requires a bit of refactoring to store transformed tints in Graphics and not GraphicsGeometry. I can do it next week, there is just too much going on right now.

0reactions
bigtimebuddycommented, Apr 3, 2020

Fixed! Thanks @SukantPal

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graphics' unexpected comportement while tinting with 2d ...
Expected Behavior. Only one graphics will be tinted (same as webgl context). Current Behavior. Every graphics are tinted. Possible Solution.
Read more >
CanvasRenderingContext2D.drawImage() - Web APIs | MDN
The CanvasRenderingContext2D.drawImage() method of the Canvas 2D API provides different ways to draw an image onto the canvas.
Read more >
Diff - 0ad55d5769da828c62d1a0a75f84f5cb9872b0ff^2 ... - Google Git
NotFoundException; method public android.graphics.drawable.Drawable loadIcon(android.content.pm.PackageManager); method public java.lang.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found