Surface shader not receiving point light shadows in deferred rendering

I have a surface shader that does not receive shadows from point lights. It does receive shadows from directional lights.

I can’t post the shader code as it is an asset store shader, but it is a vertex-surface shader.

Any ideas on where to start diagnosing this? I can’t find anyone else having this type of issue.

Thanks!

When you say surface shader, is it a shader with the line #pragma surface surf somewhere in it? If so, is the next word on that line Standard, StandardSpecular, BlinnPhong, Lambert, or something else? If it’s something else it’s unlikely to be compatible with deferred rendering, and thus the shader will rendered using the forward rendering path. If that line is also missing fullforwardshadows, it won’t receive shadows from point lights. You can try adding that line and see if it fixes it. Otherwise you can post the entire #pragma surface line here.

It was indeed something else. Adding fullforwardshadows worked! Thanks so much :slight_smile: