Error on NodeMaterial created with NME accepting cascading shadows with parallel light

I get an error when I create a material using NME as a floor material to accept cascading shadows from parallel light (shadows are fine), here is my pg address:

Hello and welcome to the Babylon community! ccing @Evgeni_Popov who knows all about lights and shaders

You have to plug the ViewMatrix block to the view input of the Lights block to get proper shadows with CSM:

2 Likes

Thanks for your reply, your answer is correct