New answers tagged opengl
OpenGL get default depthbuffer
Components of the default framebuffer do not have an "ID". You can only use those images as components of the default framebuffer. If you want to use images in a framebuffer as textures or ...
How does Unreal Engine 5's Lumen (most likely) implement reflections?
Whether you use Lumen with hardware acceleration or not, Lumen is based on ray tracing. Software mode uses signed distance fields (SDF) to find intersections along a ray and so called cards to store ...
Do GL compute shaders trigger TDR if they crash. Not just timeout?
Yes, turns out an index out of range index was the culprit when attempting writing to a TBO in the last batch of a workgroup invocation. I long for the day when compute shaders have better dedicated ...
Which coding strategies exist to handle opengl texture size limit?
First, a correction: GL_MAX_TEXTURE_SIZE contains 3379 No, it does not. That is the value of the GL_MAX_TEXTURE_SIZE enumerator (0x0D33). The actual ...
Does OpenGL allocate on glBegin/glEnd?
OpenGL implementations aren't assumed to have unlimited memory, but the specification imposes no specific restrictions on this. That is, you can't ask how many vertices you can send. Instead, if you ...
Query the size of an array of non-basic types using interface query in OpenGL
To the uniform query API, there is no such thing as an "array of non-basic types". There are just a bunch of uniforms that just so happen to have names that include array notation like "...
How to properly create textures using DSA for ImageTexture in OpenGL
The 2nd argument of glTextureStorage2D() API is mip-map levels, if you specify it as 0, it causes troubles you may have. ...
Top 50 recent answers are included