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

Search: Search took 0.00 seconds.

  1. Actually the comment is incorrect. Originally the...

    Actually the comment is incorrect. Originally the colors were divided by 255, but that clearly is removed from here. Good point though.
  2. Converting to and from color space in GLSL only works for few colors

    I'm trying to convert standard RGB texture colors to CIE-LCH format. This is to aid in perceptual blending. To just test whether my functions work correctly, I wrote a simple shader that takes the...
  3. So I did go through the Debugger and it was the...

    So I did go through the Debugger and it was the stupidest thing: I was binding the wrong texture name. DIRTY_FBO_TEXTURE is a dedicated texture unit. What I needed to use was dirty_fbo_texture, which...
  4. The original call is done so: ...

    The original call is done so:

    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
  5. What could be causing GL_INVALID_OPERATION error on glTexSubImage2D call? (OpenGL ES)

    (This is an OpenGL ES 2.0 specific question.)

    I have a framebuffer called dirty_fbo with a texture backing called DIRTY_FBO_TEXTURE. I am just trying to readPixels from it and write them back....
Results 1 to 5 of 5