fix diffuse curve shader