Robin
#1
I was wondering, which is the best way to have a spherical environment with a “shadow catching” ground plane as in this example:
In vray the workflow would be a ground plane, where only the shadow is visible. What is the best way to do this in playcanvas ?
Thanks for help
Robin
yaustar
#2
The closest thing I can think of that you can grab is what Will has done in the AR Starter Kit: https://playcanvas.com/project/481413/overview/ar-starter-kit
Look at line 765: https://playcanvas.com/editor/code/481413?tabs=8792451
ArMarker.prototype.createShadow = function () {