plugin.wireframeTrianglesColor = BABYLON.Color3.FromHexString('#FFFFFF');
Setting white is invalid
plugin.wireframeTrianglesColor = BABYLON.Color3.FromHexString('#FFFFFF');
Setting white is invalid
The color of the wireframe is mixed with the existing color through multiplication, so that when the color is white, you simply get the original color. Also, if the original color is black, you won’t see the wireframe:
instead of:
cc @sebavan and @bghgary, it’s possible that we needed to make it work like this to mimic some existing behavior. We could change it, or have a switch to keep backward compatibility.
That’s right, I just need this kind of wireframe effect where the wireframe color doesn’t mix with the object itself
I’m okay with changing the behavior. I can’t think of a good reason why someone would want the multiplied value as the result.