processing / processing4-javafx

JavaFX library for Processing 4
14 stars 5 forks source link

In FX2D, tint() causes tinted image to flicker #10

Open orglennon opened 6 years ago

orglennon commented 6 years ago
## Description In FX2D, tint() causes tinted image to flicker. ## Expected Behavior

tint(255,50) should tint the image, but it flickers between being tinted and being full opacity.

Current Behavior

tint() causes tinted image to flicker.

Steps to Reproduce

Calling tint(255,50) (for example), then draw an image image([image]), then noTint()

Your Environment

jeremydouglass commented 6 years ago

I cannot reproduce a flickr on Processing 3.3.7, OS X 10.12.6, Macbook Pro 2016 using the following sketch:

PImage img;
void setup() {
  size(512, 512, FX2D);
  img = loadImage("https://processing.org/img/processing3-logo.png");
}

void draw() {
  tint(255, 64, 0);
  image(img, 0, 0);
  noTint();
}
dgray001 commented 2 years ago

No fix for this? I'm having the same issue and don't really want to try fixing it.