There used to be a ShadowVolume. Is there a replacement now? Is there any open-source solution if not in the core three.js?
Are you referring to this example? https://threejs.org/examples/webgl_shadowmesh
Related issue at github:
I’m looking for the modern version of this:
ShadowMeshes just work with a planar shadow, but I’m looking for volumetric stencil shadows. Note how in the demo above the shadows of the torus on the cube and vice versa.
It used to be called a “ShadowVolume”, but it looks to have been deprecated some versions ago. Looking for the modern equivalent?