Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers


Type: Posts; User: banana joe

Search: Search took 0.00 seconds.

  1. thanks, it works now

    thanks, it works now
  2. corrected vertex shader

    I've corrected the vertex shader and I'm still get a black screen
  3. opengl 3.3 core, glsl 3.30, render fails

    I'm struggling with the OpenGL 3.3 core profile. I'm trying to get a simple shader rendered on the screen, but I get only a black screen. I'm using a Intel® HD Graphics 4000,

    The vertex shader

  4. relative position of a pixel in fragment shader

    How can I get the relative position of a pixel in a fragment shader? I only know gl_FragCoord​, but gl_FragCoord​ returns only the absolute coordinate.
  5. Replies

    Now i have shortened the code: #include...

    Now i have shortened the code:

    #include "GL/glew.h"
    #include "GL/glext.h"
    #include "GL/glu.h"
    #include "GL/glut.h"

    #include <cstdio>
  6. Replies

    SIGILL on glBegin

    I have a programm wich crashes at glBegin in a simple drawing function.

    At first here's my main function

    int main(int argc, char **argv)
    glutInit(&argc, argv);...
Results 1 to 6 of 6