Hello, I am currently planning to create a 3D website. We are looking for ShadowOnly Material to remove the background,floor or skybox and use the shadow on the web page instead. I’ve searched through all the old articles, but it seems this technique is only available in AR work. So, I wonder if there is a non-AR version of this technique.
I’ve added an official shadow catcher functionality to the engine, which should come out hopefully this week: Shadow catcher shader support + script + example by mvaligursky · Pull Request #7426 · playcanvas/engine · GitHub
but there is this script which has a very similar functionality that you can use, it’s not limited to AR: web-components/examples/assets/scripts/shadow-catcher.mjs at main · playcanvas/web-components · GitHub
1 Like