Hi,
Before I try and reproduce in a PG, let me and try and explain what is happening:
- data streamed via websocket to a client making use of BJS
- data is coordinates (very simple, precision 3)
- one central mesh + LOD meshes are made available and instantiated for when data is received by the client.
- a dynamic “density cloud” is served via websocket too, and results in the creation of a PCS
- a “plane” making use of the BJS GridMaterial is inserted
- …and finally a skybox.
- glow layer + fxaa
The above is not in order, but works nicely.
Until one of the instances is shown “in front” of the PCS and the “plane” and … anything else really. The particles of the cloud are shown “through” the instances. As if the instance wasn’t there (its alpha is always 1 in the color buffer).
Same goes for picking, the instances seem to be non pickable, event after using a code similar to:
instance = mesh.createInstance('i');
instance.isPickable = true;
For those who know better than me (most of you! :)), any low hanging fruit or usual suspect in my brief description above?
Thanks!