interferences-at / encreslumieres

Encres & lumières
0 stars 0 forks source link

The EraserBrush makes pixels darker afterwhile #8

Closed aalex closed 8 years ago

aalex commented 8 years ago

capture d ecran 2016-06-05 a 13 16 34

aalex commented 8 years ago

We use the P3D renderer: (for the PointShaderBrush) createGraphics(width, height, P3D);

But then the eraser modifies the pixels directly: buffer.pixels[loc] = c;

What if we don't use the PointShaderBrush and use the default renderer instead?

aalex commented 8 years ago

So, in commit c9c93a8a3d465c51f09008a3a71dd5512d7e8a59 I disabled the P3D renderer for the spray cans.