Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/felixmariotto/three-rt-helper

WebGLRenderTarget helper for three.js : see the output in realtime in a window
https://github.com/felixmariotto/three-rt-helper

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

### [NPM](https://www.npmjs.com/package/three-rt-helper)

Try it in [this jsfiddle](https://jsfiddle.net/felixmariotto/b5x8f31h/)

## Setup :

`npm install three-rt-helper`
and
```js
import RenderTargetHelper from 'three-rt-helper';
```

or

```html

```

## Usage

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

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