WebGL / THREE.js读取浮点纹理

时间:2017-09-04 01:22:22

标签: three.js textures webgl

我试图弄清楚如何使用three.js从浮点纹理中读取数据,我发现了这篇文章:https://github.com/mrdoob/three.js/issues/9513

我能够成功读取firefox上的浮点纹理,但是在Chrome中它会抛出同样的错误:

  

THREE.WebGLRenderer.readRenderTargetPixels:renderTarget不是UnsignedByteType或实现定义的类型。

我不确定能够阅读纹理需要做什么,任何帮助都将非常感激。

0 个答案:

没有答案