Rework render pipeline (render tree) and add SSAO support.

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>