View matrix not passed to shader when using ShaderMaterial

You should assign shaderMaterial instead. planeMaterial is not constructed correctly, the array of uniforms is not passed to the constructor, so a default array is used (["worldViewProjection"]), and this array does not contain the view matrix.

2 Likes