In OpenGL ES you can bind a specific range of a buffer to a uniform block with glBindBufferRange
. Is it possible to overcome the GL_MAX_UNIFORM_BLOCK_SIZE
restriction by sending data over the limit with glBufferData
or glBufferSubdata
, but move the offset my shaders read from by binding a range whose size is within the limit?
Asked
Active
Viewed 645 times
0

Alex Zielenski
- 3,591
- 1
- 26
- 44
1 Answers
1
GL_MAX_UNIFORM_BLOCK_SIZE
is explicitly a restriction on the size of the range you use in glBindBufferRange(GL_UNIFORM_BUFFER, ...)
. How big the entire buffer's storage is is irrelevant (save that the range must be within the storage, obviously), so there's nothing to "overcome".

Nicol Bolas
- 449,505
- 63
- 781
- 982