fix sign issue in sample_diffuse