1 Reply Latest reply on Mar 9, 2010 10:29 AM by pboudier

    GL_LIGHT_MODEL_TWO_SIDE doesn't work with only a fragment shader


      Our application has one shader, written in GLSL, that's only a fragment shader (we don't supply a vertex shader in this case). It works wonderfully until we specify

      glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);


      The display then gets, to get technical, all sorts of messed up. This is the case even when we call



      Is this a bug, or am I missing something?