Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/felixmariotto/three-rt-helper
- Owner: felixmariotto
- License: mit
- Created: 2021-02-24T14:43:13.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T13:45:20.000Z (almost 3 years ago)
- Last Synced: 2024-09-12T23:37:21.289Z (4 months ago)
- Language: JavaScript
- Size: 116 KB
- Stars: 29
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
```