Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKoehler

Posted 23 October 2012 - 10:18 AM

That is correct, giugio. As long as you've either used glBindAttribLocation or layout specifiers in your shaders to make sure attributes in different shaders are bound to the same attribute indices, you can reuse a VAO without any problem. Remember that glBindAttribLocation must be used BEFORE linking your shader.

#1Koehler

Posted 23 October 2012 - 10:18 AM

That is correct, giugio. As long as you've either used glBindAttribLocation or layout specifiers in your shaders to make sure attributes in different shaders are bound to the same attribute indices, you can reuse a VAO without any problem.

PARTNERS