I am having a difficult time setting the width of a WireframeMaterial. Things were working well until I upgraded to from 2.5 to 3.6
I am doing:
var mat = WireframeMaterial(0xff0000, {width:4, alpha:alphaValue});
but that's not working at all the width is still set to 1 !!
any idea how that might be resolved?
thank you very much,
I guess what you mean is not width, but thickness of a WireframeMaterial. You also want to change the alpha value of the wireframe.
The solution is to set the properties
thickness
andwireAlpha
of WireframeMaterial like this: