When I try to use MeshBuilder.CreateLines to generate some line I would like to alter their thickness using a shader material. Similar to this example done in three js
For starters, you deleted the position attribute from the template, so it would follow that the shader can’t use an attribute that it hasn’t seen before I recommend taking some time to read on how shaders work so you can understand better every one of their components:
And there are many more resources out there. Shaders are definitely a huge learning journey (that never stops really ) so don’t feel you have to take it in all at once. Go on your own pace, and the forum will be always happy to help!