CSS3DRenderer rendering over WebGLRenderer issue

CSS3DRenderer doesn’t render 3D objects - it appends 2D HTML elements above the 3D canvas and fakes the 3D transformations using CSS transform. By default, HTML elements cannot partially occlude 3D objects.

There are workarounds though: vanilla three.js, react-three-fiber

1 Like