My objective is to overlay 3D objects onto a panorama. I have successfully positioned the objects with the correct perspective, but now I am seeking a method to incorporate a useBackground shader similar to those found in software like Maya and Max into three.js.
Specifically, I aim to achieve a visible shadow cast onto an invisible ground proxy that I have set up. The challenge lies in making sure the ground remains unseen while the shadow it receives is visible. If you can offer assistance or point me in the right direction, I would greatly appreciate it. Should I develop a custom shader, or is there an existing solution for rendering only the shadow cast on the object?