how can I change the shadow color

I need to change the shadow color to red, what can I do

What kind of application are you working on? If you’re doing visibility analysis, you might find the Analytics SDK useful here, where you can visualize sensor volumes from any given point and control the color of the occluded/visible region: