gpucomputationrender-three icon indicating copy to clipboard operation
gpucomputationrender-three copied to clipboard

Fix for three.js >= r102

Open notrabs opened this issue 3 years ago • 0 comments

Library doesn't work for newer versions of threejs, because the renderTarget paramter was removed in v102.

  • Replaced the render paramter with two setRenderTarget calls to mimic the old behavior
  • Updated threejs version
    • Added three as a dev-dependency to get the updated types during development.
    • Added typescript to dependencies, to not rely on a global installation.

notrabs avatar Aug 20 '20 18:08 notrabs