Open dimitre opened 2 months ago
Should probably be wrapped in the defines next to getUniformBlockIndex, getUniformBlockBinding
, etc.
I don't have much experience with Uniform Blocks, so would be good to test with openGL ES. Testing with Emscripten would be helpful. Could be wrapped in
#if !defined(TARGET_OPENGLES) || defined(TARGET_EMSCRIPTEN)
#ifdef GLEW_ARB_uniform_buffer_object
relevant discussion: https://forum.openframeworks.cc/t/multiple-lights-limit-with-opengl-3-2-how-to-increase/43777/26
usage example:
PS: not static yet
What do you think @NickHardeman ?