opengles3-book
opengles3-book copied to clipboard
OpenGL ES 3.0 Programming Guide Sample Code
In chapter 12 section "Framebuffer and Renderbuffer Object", it says we can bind a texture image or a renderbuffer object to color attachment or depth attachment of fbo, but we...
Should instead be glBindBufferBase( GL_UNIFORM_BUFFER, bindingPoint, bufferId); ?
The List of pnames on page 275 in the Sampler Object section includes some parameter names that cannot be used with glSamplerParameter*: GL_TEXTURE_BASE_LEVEL GL_TEXTURE_MAX_LEVEL GL_TEXTURE_SWIZZLE_{R,G,B,A} See Table 6.10 in GLES...
I buy the book. The example 2 of the triangle, I do steps of chapter 16 for build with Android NDK. I have android 4.4.2. NDK: android-ndk-r10e ENVIRONMENT VARIABLES WITH...
Book, page 156, glMapBufferRange() There are two mistakes: - GL_MAP_INVALIDATE_BUFFER_BIT: "This flag can only be used in combination with GL_MAP_READ_BIT" instead of "This flag may not be used in combination...
In printed version p. 120: varying lowp vec4 color; Could replace it with keyword out or remove it.
According to the GLES 3.0 spec, it appears that the following GL call is valid for cube maps (see section 3.8.4 on pg. 137): glTexStorage2D( GL_TEXTURE_CUBE_MAP, ... ) This usage...
Before this PR, ParticleSystemTransformFeedback looks work but the logic is actually wrong against explanation in the book. Previously particles disappear during animation.
Fedora 20/21 the code cannot compile using cmake because it cannot find its own header files. Meanwhile the standard instructions from the book to run cmake ../ from a new...