The instance plane didn’t draw correctly.
I guess I miss something in my shader for drawing instance mesh.
Here is my playground:test_shadow.zip (39.7 KB)
If you remove the define from the shader option like this then it works as expected? ShaderMaterial will take care of the instances define for us so we don’t need to do it ourselves.
Also you can use the instancesDeclaration shader include to handle the world0…world3 attributes like this.