Flickering GPGPU Particles Three.js

六眼飞鱼酱① 提交于 2020-01-02 23:05:50

问题


I've created a particle simulation (thing) with Three.js. I'm super happy with the simulation part of it, but for some reason I get a lot of screen flickering when I run it. The effect is more apparent on some machines / graphics cards, but I've noticed flickering with all of them.

Here is the demo. Here is the source.

Things I've tried:

  • Narrowing the visible range on the camera
  • Removing transparency from the PointCloud material
  • Make each "simulator" have it's own camera, scene and mesh (I really thought this would work)

None of these have yielded any less flickering, and I'm not sure what the next culprit is. Maybe the OrbitControls? Maybe it's got something to do with the texture rendering? Any Ideas?

来源:https://stackoverflow.com/questions/28971164/flickering-gpgpu-particles-three-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!