Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

opengl es texturing line

$
0
0
i have an application that allows drawing thru touch just like paint and using opengl es (mobile), currently, the line is just drawing with simple/default line style of opengl using GL_LINE_STRIP, i want to have different pen style on it, just like attached, so my question, is it possible to texture an opengl Line (GL_LINE_STRIP) so i can achieve my desired effect (see attached)? i know its possible to texture an OpenGL point via point sprite, but i have not found anything related to texturing an opengl Line. is this possible?

Viewing all articles
Browse latest Browse all 17825

Trending Articles