- Home /
Unity 5 Custom Deferred shader
Hi there,
I am setting the base of my new surface shader to have access to everything. In forward rendering, there is no problem but in deferred I have some difficulties concerning the lighting and the shadows. I am using the half4 LightingFunction_Deferred function but where the shadows are applied ?
How can I control the way to shadows and the lighting are applied for a specific shader ? I've seen that everything is applied in the Internal-DeferredShading.shader file but this is common to the deferred pipeline right ?
How can I control the way the shadows and the light is applied in the deferred rendering pipeline for a specific shader ?
Thank you very much.
Comment