Open
Description
Description
noSmooth() does not disable image smoothing in FX2D
Expected Behavior
Expected to disable antialiasing on images
Current Behavior
Antialiasing is still enabled
Steps to Reproduce
- Make sketch using FX2D
- Add noSmooth() to settings()
- Draw image()
@Override
public void settings() {
size(500, 500, FX2D);
noSmooth(); // Switching these around does not change anything.
}
@Override
public void setup() {
// Putting noSmooth() here does not solve it either
}
@Override
public void draw() {
background(0);
drawGrid();
image(textures.get(Editor.currentTexture), x, y, x + 200, y + 200); // Image is 16 x 16
}
Your Environment
- Processing >3.4
- Windows 10
- Other information:
Possible Causes / Solutions
The FX2D rendering engine breaks noSmooth(). I'm hoping for a fix.