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

Search: Search took 0.01 seconds.

  1. Sorry for the above confusion. I have tested the...

    Sorry for the above confusion. I have tested the code with integer texture and its working fine. But same thing is working with unsigned texture, created as above , having isampler2D in shader which...
  2. what is the expected result for unsigned texture having isampler2D in shaders?

    I am writing an application to test isampler2D, thus have created a integer texture as:



    GLubyte *lpTex = NULL;

    for (j=0; j<32; j++) {
    for (i=0; i<32; i++) {
    if ((i ^...
  3. when is the indices of vertices determined to be used in gl_VertexID

    I am trying to understand the behavior of gl_vertexID in vertex shaders. For that I am trying to render 2 squares using two glDrawArrays calls one after another. And want to apply red color to only...
Results 1 to 3 of 3