Fix sun post-process.

This fixes #816.