customDepthMaterial vertex shader

I just tested onBeforeCompile with R147 on MeshDepthMaterial and it fires. Does it throw any errors?

With this you don’t need to manually replicate the modifications to the shadow material btw. Tested with R147 too.

1 Like