Node Material not compiling with light block and Cascaded Shadow

Hi,

I guess this is another one for @Evgeni_Popov - looking at your WebGPU I guess you have better things to do than looking at my CSM issues… ;D

I am getting compiling errors if I use CSM with light node block in the NME. Have a look at the console using this playground: https://playground.babylonjs.com/#LR2EGU#1
The normal Shadow Generator works.
Hope its easy to solve.

Best,
Martin

You’re welcome!

This is a bug, node materials used on shadow receivers are not supported yet, I have created an issue about this:

2 Likes

Fixed by:

1 Like