In my threejs project, I have a mesh lambert material that is defined as follows:
new three.MeshLambertMaterial({
transparent: true,
emissive: 0xffffff,
map: texture,
alphaTest: 0.1
});
We had to set the alphaTest
to 0.1 in order to achieve transparency for the material. However, this resulted in an unsightly grey line around the opaque portions of the material, which is even more pronounced when the texture represents text.
Is there a better method to create a transparent material that will simply display the object behind it without any artifacts?