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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    635

    Batch Rendering of Instanced Objects

    I have a conceptual question regarding batch rendering. Say, for example, I want to render static objects such as a tree and a rock to my scene and I have many rocks and trees. I create a batch (a...
  2. Better approach to rendering perlin noise to a texture?

    The vertex shader takes two input attributes: the first is the upper left corner vertex position and the second is the four gradients at the corner of each cell. The geometry shader takes each point...
  3. I am currently using 4.4 and it seems that it is...

    I am currently using 4.4 and it seems that it is possible with the following syntax. Although I am puzzled that I wasn't able to find this in the documentation anywhere, is it not up to date?


    ...
  4. I am trying to render perlin noise to a texture....

    I am trying to render perlin noise to a texture. Currently I have a vertex shader with two inputs: one is the upper left corner vertex and an array of 4 vec2's that are the gradients at each corner...
  5. Can you pass an array to a geometry shader?

    Can you pass an array of vec2's to a geometry shader as inputs? If so what is the syntax?
  6. That clears up a lot and that was typo. I meant...

    That clears up a lot and that was typo. I meant to say it doesn't work. I edited the original post to correct that. However, I need to change the size of the buffer depending on whether the string I...
  7. Orphaning Vertex Buffer Object Not Working

    I am rendering text which is updated every frame. The text is a series of quads with texture coordinates that correspond to each character in a texture atlas. I need to orphan the vertex buffer...
Results 1 to 7 of 7