What is the define I need to use in the PBR materials shader code to check if mesh.receiveShadows

So if I am modifying something in the PBR glsl code how do I do a define check for mesh.receiveShadows?

Something like

#ifdef SHADOWS

Its not seeming to be the SHADOWS define though.

It’s SHADOW0, SHADOW1, etc because we append the light index to SHADOW to make the define.