Hi All,
I have a simple line renderer between two points and when i change the scale of either the start or end point to taper the line the material becomes warped and unuseable.
I have attached pics to illustrate what I mean but was wondering if anyone has run into this issue before.
Thanks in advance!
Line renderer at size 5
Line renderer partly tapered, notice strange texture banding
Line renderer fully tapered, texture gets completely cut off instead of scaled
This looks like it may be the problem that our line geometry doesn’t generate smooth UVs when the width of the line varies.
We have it on our roadmap to come up with a solution, but I don’t know of any workaround currently, other than to look at whether a 3rd party line solution handles this situation better (eg Vectrosity)
1 Like
Thanks very much for the quick reply, Richard.
I assumed this was the issue, but its good to have verification that I wasn’t seeing something out of the ordinary.
Ill give the plugin you suggested a try.
This is 4 years old and the problem remains unsolved. Any news about this?
Because we generate UVs only at the vertices, I don’t think there is a way to fix this problem.
I think it requires a custom shader solution so that the UVs can be calculated in the pixel shader, but the LineRenderer doesn’t use dedicated shaders.