-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
help wantedMany hands make light work. Please help!Many hands make light work. Please help!
Description
Description
Using tint() on different image() call for the same PImage cause all the images being tinted of the same color.
Your Environment
- Processing version: 3.5.4
- Operating System and OS version: Windows 10
- Other information:
Possible Causes / Solutions
The problem is caused by the caching system that the PImage use when the FX2D rederer is on.
The image is cached with the last used tint value, that cause all the images being displayed with the same color, if they are refered to the same PImage.
The PImage should be probably cached once per color in order to allow the drawing of different tinted version of the same PImage.
Metadata
Metadata
Assignees
Labels
help wantedMany hands make light work. Please help!Many hands make light work. Please help!