May 2017
Intermediate to advanced
982 pages
22h 42m
English
In this recipe, we will implement dual depth peeling. The main idea behind this method is to peel two depth layers at the same time. This results in a much better performance with the same output, as dual depth peeling peels two layers at a time; one from the front and one from the back.
The code for this recipe is contained in the Chapter6/DualDepthPeeling folder.
The steps required to implement dual depth peeling are as follows:
glGenFramebuffers(1, &dualDepthFBOID); glGenTextures (2, texID); glGenTextures ...
Read now
Unlock full access