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: GreenOwl

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    984

    glUniform: Matrix representation

    Hello,

    I'm using OpenGL with C++ through glew. Two simple questions:
    1) What format does the matrix (as GLfloat[]) for the function glUniformMatrix__ has to have? I couldn't find any information...
  2. Updating uniforms between sets of primitives

    Hello,

    I'm currently rendering geometry stored in indexed vbos and managed by vaos. I use glDrawElements to draw the vbo on the screen.
    Now I've got the problem that I store different (more...
  3. Replies
    7
    Views
    3,229

    Thank you for your reply. I am not competely...

    Thank you for your reply.

    I am not competely sure if I am interpreting your post the right way:
    You suggest to use non-explicit locations (via glBindAttribLocation) until at some point in the...
  4. Replies
    7
    Views
    3,229

    Yes I have an Intel HD4000 (integrated?) GPU on...

    Yes I have an Intel HD4000 (integrated?) GPU on my system.
    I am still not completly sure whether this is the case or not. On my home PC with a ATI HD 5xxx GPU the shader works without any...
  5. Replies
    7
    Views
    3,229

    Thank you for your answer! I tried to use your...

    Thank you for your answer!

    I tried to use your second solution but it didnt work. Here is the error message:


    ERROR: 0:2: '' : extension 'GL_ARB_explicit_uniform_location' is not supported...
  6. Replies
    7
    Views
    3,229

    Problem with "layout" Syntax

    Hello,

    I am currently trying to use the layout-syntax in combination with "in" and "uniform" variables in my vertex shader. Here is my vertex-shader:

    #version 140

    layout(location = 0) in...
Results 1 to 6 of 6