Unable to get shadow of walking avatar

Hi all,

We are trying to get the shadow of walking avatar without using any bottom ground.

The shadow shud be slighlty blurry as shown in the screenshot.

can somebody suggest where exactly we are going wrong

Setting a material alone will not display any shadows - you need to define a ground and make sure this ground receives shadows. This is your demo with a ground that receives shadows:

vijay_krishna model | Babylon.js Playground (babylonjs.com)

Hope this is a good starting point! :slight_smile:

Thanks RaananW

In my case the whole background has to be white and i cannot show any ground.
I tried by adding ground (in white color) so that user may not see the difference.
But its not working…

You can use the shadown-only material for that:

vijay_krishna model | Babylon.js Playground (babylonjs.com)

1 Like