Does dynamic terrain support receiving shadows?

Can’t seem to get it to work.

It should work :slight_smile:

Can you repro your current status in the playground?

Will do…

Here is small example - https://playground.babylonjs.com/#CQNGRK#524

This demonstrates the problem I have:
https://playground.babylonjs.com/#CQNGRK#525

There was just small code error in your PG, fixed - https://playground.babylonjs.com/#CQNGRK#526
Instead of
terrain.receiveShadows = true;
should be
terrain.mesh.receiveShadows = true;

1 Like

Lifesaver! thanks so much for your help @labris

1 Like