three-rt-helper

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

MIT License

Downloads
121
Stars
29

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();