Reimplementation of Chapter 8 of GPU Gems in GLSL