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

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,083

    Have you tried something like these? ...

    Have you tried something like these?

    ((float*)bufferData)[3] = depth;

    bufferData[3] = (int)depth;
    You could use always use glMapBufferRange.
  2. Open up your favourite image editing software and...

    Open up your favourite image editing software and check what the pixel's color is! :) They are different. haha
  3. Replies
    1
    Views
    1,063

    GLSL initialized uniform block members

    Prerequisite - My terminology may be slightly off or bad, please excuse and correct me where ever necessary. Please also excuse that this is my first post. I have often lurked these forums and...
Results 1 to 3 of 3