st/nine: Complete and fix fog implementation

Signed-off-by: Axel Davy <axel.davy@ens.fr>