The use of shader materials does not work. The model cannot be seen directly and no error is reported. What is the problem

The use of shader materials does not work. The model cannot be seen directly and no error is reported. What is the problem
https://playground.babylonjs.com/#CI96R0#2

that is look like one point model and that not take any pixel
so it is normal to dont show you any model

** what you trying to do

plane.material = shaderMaterial;
I want to make a diffusion animation, but the result is not any effect. After the material is given, the model cannot be displayed. I don’t know why

projectionMatrix and modelViewMatrix are not valid names, see Introduction to Shaders | Babylon.js Documentation.

Also, as @nasimiasl pointed out, you are projecting all triangles to a single point, it won’t display anything.

Here’s a fixed PG:

2 Likes