cansik / processing-postfx

A shader based postFX library for processing.
148 stars 13 forks source link

PixelDensity (Retina) does not affect ping-pong buffer #27

Closed cansik closed 5 years ago

cansik commented 7 years ago

The pixel density does currently not affect the ping-pong buffer size. The pixel density has to be calculated into the buffer size.

settings()
{
    pixelDensity(2);
}

Example

image

cansik commented 5 years ago

Tried to trace the problem...but it seems that the g (main buffer) is not drawn correctly on the pass buffers. Does not happen if you first render everything onto an offscreen canvas.