Shadow map not refresh when using PCF filter

https://playground.babylonjs.com/#B48X7G#1.
I believe it should be a bug, or if it is a feature, how can I do the same thing with the topic with PCF?

@Evgeni_Popov

The texture is not needed for PCF (we don’t generate it), we only need the depth buffer attached to the framebuffer.

If you still want to generate it, you can do something like this:

2 Likes