Vulkan tip on rendering a fullscreen quad without buffers

Datetime:2016-08-22 23:09:24         Topic:         Share        Original >>
Here to See The Original Article!!!

Rendering a fullscreen quad is a common task in 3D realtime graphics, especially with shaders making post processing a common functionality and other techniques like deferred shading also relying on having a quad with uv coordinates cover the whole screen.

While doing some refactoring on my Vulkan examples I removed some code that used vertex and index buffers for rendering such a quad and replaced it with a simple way that generates vertices and uvs in the vertex shader, saving some lines of code.

You can find the article on rendering a fullscreen quad (without buffers) here .

Put your ads here, just $200 per month.