问题
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