- Home /
Question by
donaldleowjj · Oct 06, 2014 at 02:34 PM ·
c#opengl
GL Lines With Textures
So currently I have a line drawn with GL Lines in my Unity script. I have completely no idea on how to render the line with a texture.
I'm drawing the line in 2D.
Any help is appreciated. Codes are even more so. :D
Comment
Answer by unimechanic · Oct 07, 2014 at 04:31 PM
You could use the Line Renderer:
The texture stretches for that one...so I'm looking for a way to render the lines without stretching the texture, it's more of duplicating the texture as it goes.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Change the Material of a Sprite with C# 1 Answer
Flip over an object (smooth transition) 3 Answers
Why are all clones moving when one should be moving 0 Answers