- Home /
Materials Compatible with LineRenderer
I don't want to use the Additive Particle shader with my line. I want a solid color instead of the transparency. The problem is that whenever I use diffuse and try to set the color through "LineRenderer.SetColor()" or "myLine.renderer.material.color" it doesn't work. It always comes up black. How can I set a solid color to a line created with the LineRenderer class?
Comment
Your answer
Follow this Question
Related Questions
Material doesn't have a color property '_Color' 4 Answers
Changing two different objects renderer colour 1 Answer
ShaderGraph Material Color change. 0 Answers
How can I create a glowing, smooth line of any shape? 2 Answers
Diffuse not changing color 0 Answers