Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualNumberXaero

Posted 20 November 2012 - 04:47 PM

Not sure about this line "GLfloat tmp_normals[normalList.size()][3];" does that even compile? normalList.size() is not a constant size and its not dynamically allocated array, so...

Try displaying your normal gl_FragColor = vec4(normal, 1.0); to debug if it looks correct.

#1NumberXaero

Posted 20 November 2012 - 04:46 PM

Not sure about this line "GLfloat tmp_normals[normalList.size()][3];" does that even compile? normalList.size() is not a constant size and its not dynamically allocated array, so...

PARTNERS