All Projects → felixmariotto → three-rt-helper

felixmariotto / three-rt-helper

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

Programming Languages

javascript
184084 projects - #8 most used programming language

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();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].