Z-buffer Issue With Buffergeometry In Particlesystem
In my application I'm having troubles with the z-buffer. I have a ParticleSystem in which the dots have a texture to look like spheres. But there are two problems which I can't sol
Solution 1:
You are confused. The texture is transparent, and remains so when switching to BufferGeometry
.
What is happening, is that with BufferGeometry
, the particles are not rendered in sorted order -- they are rendered in the order you specify in the buffer.
If you want to use BufferGeometry
, you can set
material.alphaTest = 0.5.
Then, in your case, things should look fine.
three.js r.60
Post a Comment for "Z-buffer Issue With Buffergeometry In Particlesystem"