
#define WRITE_DIFFUSE(DIFF) diffuse_specular.rgb = (DIFF)

#define WRITE_SPECULAR(SPEC) diffuse_specular.a = (SPEC)

#define WRITE_NORMAL(NRM) normal_depth.xyz = (NRM)

#define WRITE_DEPTH(Z) normal_depth.w = (Z)
