three-rt-helper

0.0.9 • Public • Published

three-rt-helper

WebGLRenderTarget helper for three.js : see the output in realtime in a small canvas

NPM

Try it in this jsfiddle

Setup :

npm install three-rt-helper and

import RenderTargetHelper from 'three-rt-helper';

or

<script src='https://unpkg.com/three-rt-helper'></script>

Usage

const renderTargetHelper = RenderTargetHelper( renderer, myWebGLRenderTarget );
document.body.append( renderTargetHelper );

// in the render loop
renderTargetHelper.update();

/three-rt-helper/

    Package Sidebar

    Install

    npm i three-rt-helper

    Weekly Downloads

    34

    Version

    0.0.9

    License

    MIT

    Unpacked Size

    7.55 kB

    Total Files

    7

    Last publish

    Collaborators

    • felixmariotto