I’ve tried to follow the docs to set the UV of a meshes vertices. I suspect it is a problem with the material / shader I have constructed but I can’t see the problem at the moment. I’d be very grateful if anyone could take a quick look. Thank you!
The plane should appear as all red as I have attempted to set the UV values to 0 but it appears as blue-white-red
** edit **
- I have experimented with manually connecting the shader to a inputBlock of value 0 in NME and in the code and it works as expected (i.e. the plane is all red).
- I have logged out all the uv values of the mesh and they are all 0.
So for some reason the material is receiving the original uv values of the mesh instead of the updated values…