The chapter06/sceneoit.cpp file in the example code Chapter 11, Using Compute Shaders OpenGL Development Cookbook by Muhammad Mobeen Movania has several recipes in Chapter 6, GPU-Based Alpha Blending and Global Illumination