Even though I manually set, both in code and in the editor, the alpha value to 1, respectively 255, the LineRenderer keeps drawing semi-transparent lines. I tried everything I could find online, but to no success. Any ideas?
Try a different material/shader maybe?
I am using lr.material = new Material(Shader.Find(“Particles/Additive”));
Perhaps try the sprite shader or the standard shader?
Nope, still semi-transparent
UPDATE: Fixed it! I had to apply the Sprite-Default shader!
1 Like
Cool. Good luck!
Had this issue today - on build the line renderer kept losing opacity values. Switching to sprites default from default line worked ![]()