Soft Shadow example

Hi. Iam new to BJS.

I just want to ask, if this shadow-example is possible with BJS without too much knowledge?
Maybe there is a playground already to learn about those soft shadows?

Thanx

Welcome aboard!

Yes, soft shadows are easy to setup:

https://playground.babylonjs.com/#FH3FM2#11

1 Like

thank you Evgeni.

I just happen to notice that the sandbox example runs at 5fps on my Macbook M1, I have never seen such a slow result, is there something special going on here to cause that
I was checking all shadows documentation and all other examples are running at 60fps

It is using PCSS as the shadow filtering technic, which is the most taxing one for performances. Not recommended for less capable GPU…

1 Like

thanks for clarifying @Evgeni_Popov