ThreePipe
    Preparing search index...

    Class SnapObjectResources

    Render targets and the tone mapping material used by the offscreen snapshots (snapObjectPixels). Keep one and pass it in SnapObjectOptions.resources to snap repeatedly without allocating, then dispose it.

    Implements

    Index

    Linear HDR target (half float) the object is rendered into.

    8 bit target with the tone mapped result, the one that is read back.

    Copies the HDR target to the LDR target: un-premultiplies, tone maps with the same functions as TonemapPlugin (three.js tone mapping, then contrast and saturation), converts to the output colour space, and flips the rows.