title: Draw a simple dotted line or dashed line in OpenGL GLES20 android using fragment shader and GL_LINE_STRIP
body: <p>I went through different sources and seen that we could draw a dotted line using a fragment shader. Because I am new to OpenGL I couldn't able to understand.</p>
  
  <p>Can anyone share some code sample that plot dotted or dashed line using fragment shader and <code>GL_LINE_STRIP</code> in Android.</p>
  
  <p>References:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/52928678/dashed-line-in-opengl3">Dashed line in OpenGL3?</a></li>
  <li><a href="https://stackoverflow.com/questions/12960627/dotted-back-edges-of-object">Dotted back edges of object</a></li>
  </ul>