Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: jonpb1

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    18,821

    Ok, thanks guys, there were a couple problems, I...

    Ok, thanks guys, there were a couple problems, I needed GL_LINE_STRIP and also both gl_FragColor and gl_Color are deprecated in version 330.
    Unfortunately it still doesn't quite work but I have...
  2. Replies
    4
    Views
    18,821

    glDrawArrays(GL_LINES)

    Could someone please either confirm that the following code either should work or tell me what I'm doing wrong? Assuming that the orthographic matrix calculation is correct and the shaders compile,...
Results 1 to 2 of 2