How do i get occlusions of WebGLObjects onto CSS3DObject

you can’t. or, it can’t. you have to write your own implementation.

or, pair threejs with react and it’s done:

this is actual occlusion, the html is practically part of your scene and can be sandwiched between 3d objects. it can even receive shadows and reflections. and without dirty tricks or expensive raycasting.

here’s another that’s closer to your demo:

3 Likes