Linerenderer and shaders?

Hello, as this is my first post I’m not sure if this is the right place to post this however I couldn’t find any board at was more relevant to my issue and my question is pretty straight forward.

When I use a material for a linerenderer and it has a shader that isn’t from the “particles” shader group the line that’s rendered only has one side and the other side is transparent, just like a plane and it is also colourless. I have no issue with the “particles” shader group however I want to linerenderer to glow using the Self-Illumin shader group, do you know what the issue is and if I could possibly write a custom shader to do both? I’m not used to working with computer graphics, I’m a lot better with logical thinking and coding.

Put “cull off” in a shader; the default is “cull back”. See here for the built-in shader source.

–Eric

Well, this isn’t exactly easy for me with no experience. After a bit of research I found out I can’t just change the setting in the editor to a default unity shader so I downloaded the shader I want to edit and turn off culling on, but it seems to have no word “cull” anywhere so it seems you need to add specifically cull off to override the default? Please tell me if I’m wrong.

How do I do this? Where do I add cull off?

You can put “cull off” somewhere in the subshader; have a look at the Font.shader for example, where Cull Off is in with Lighting Off, ZTest Always, etc.

–Eric