Skip to content

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

License

Notifications You must be signed in to change notification settings

felixmariotto/three-rt-helper

Repository files navigation

three-rt-helper

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

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published