- Home /
Question by
Ghostling225 · Dec 22, 2021 at 09:35 AM ·
2dshaderlinerenderer
Preventing a LineRenderer from drawing over itself
I am working on a paint program and I use line renderers as the brush strokes. I'm running into an issue with a translucent line renderer drawing over itself. I'd like for no line renderer to draw over itself, but for other line renderers to be able to do that.
From what I've gathered online, I should probably use a custom material with a shader, but I can't find a ready-to-go solution and I'm not in the space to be learning shaders right now.
Here's a video of how it looks right now (The "preferences" component I'm using is just a source for the brushes to get their renderers' settings from): link
Comment