The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

OpenGL News Archives

Screen-filling Rasterization using Screen-aligned Quads and Triangles with OpenGL

Feb 25, 2018

CG Internals published a blog article covering screen-filling rasterization using graphics hardware and modern OpenGL. The findings are applicable to OpenGL ES, Vulkan, and WebGL as well. For rendering screen-filling geometry we usually have to choose between a screen-aligned quad and a screen-aligned triangle. But - is there a difference? If so, which approach is better than the other? In this article we want to show you the differences between both approaches and offer an alternative. Following the theoretical analysis we introduce a demo program and evaluate screencasts together with multiple performance measures.