So I was trying to setup a simple wave shader and trying to render it on a plane. Was not trying to do a lot just wanted the plane to give that wave effect. I am getting an ‘unable to compile effect’ on the material.
The shader code looks alright but it looks I am missing something when I am setting up the shader material.
ohh my bad. thanks a lot. We have something at least. The result is different than what I saw in the node material editor. https://nodematerial-editor.babylonjs.com/#XB44SA
Thanks a lot anyway. I will explore further
sorry to annoy you once again.
I exported the shader after adding a texture in the node material and am running into new issues now. Apologies I am not super familiar with shaders
yes I did change the uniforms in the shader code as well. Still getting the same issue. I guess it needs all of the NME wrapper code that you wrote
That rgb issue is weird.
You miss a #define VMAINUV in each shader. It will work but without lighting. As explained in the post linked earlier, ShaderMaterial materials don’t support standard lighting out of the box.