Looking-Glass / HoloPlayJS_Issues

A repository for feature requests and bug reports for the HoloPlay.js library. This repository doesn't contain source code. You can download the HoloPlay.js library at http://look.glass/threejs
0 stars 0 forks source link

setting RenderTarget for ThreeJS v102 #5

Closed raphaelrauwolf closed 5 years ago

raphaelrauwolf commented 5 years ago

Api in ThreeJS v102 changed to not setting the render target in the renderer.render function.

So captureViews and HoloPlay.prototype.render need updates.

captureViews

renderer.setRenderTarget(bufferSceneRender);
renderer.render(scene, arraycamera);

HoloPlay.prototype.render

renderer.setRenderTarget(null);
renderer.render(finalRenderScene, finalRenderCamera);
alxdncn commented 5 years ago

This has been fixed in our update, v0.2.0, coming next week.