I am trying to create rectangle using line renderer (corner vertices is set to 0, texture mode to tile, wrap mode for texture to repeat), but sprites are deformed:
Material is simple (URP/Unlit with Tiling X:1 Y:1)
When I set corner vertices to value greater then 0, then it looks good, but without corners:
How to setup line renderer to draw sprite (dots) also in corners?
CodePudding user response:
The line renderer doesn't generate the right type of topology for your use case.
It's a bit more tricky, but you'll have much better control if you generate your own mesh with your own UV.