Hi, I have a line renderer which I have a Material attached to. I also have the same Material attached to a quad. This Material as a simple shader with some scrolling for the texture. Problem is the Material seems to be rotated by 90degress on the line renderer but is completely find on a quad. Is there something I must do to have the material going from top to bottom like the quad? Here a link to the gif line - Album on Imgur. Quad on the left and line renderer on the right.
1 Like
Hi unfortunately it’s just a quirk of how the line renderer works. We probably will never change it, even tho we agree it’s weird.
It would be complex to keep old content behaving the same way without an additional performance hit, to check the desired rotation.
1 Like
Hi, is there a way I can achieve something similar with quads or with something similar? Basically I’d like to set the start and end point for the object much like a line renderer in a dynamic way during runtime. Sorry quite new to unity so this might be obvious!
It’s easy enough to write a script to scale a quad between to points. But you could also rotate the textures & panning direction of the material or shader.
Thanks managed to get things to work as you suggested.
1 Like