fix to gradientdiffusemethod to stop material from disappearing when no
lights are applied