Render shadow on full transparent material

Hi guys.

I’m using URP 12.1.6, unity 2021.3.1f1.
My goal is to render shadows casted by dynamics objects on meshes with a full transparent material.

I created a lit transparent shader graph with an opacity parameter to control the transparency of my materials.

when opacity is decreasing, material becomes transparent and the shadow also. I would like to keep the shadow fully on , regardless of the opacity value.

I looked for solutions on forums and blogs, but impossible to find a good way to solve it.

I used a shader with Built-it rendering pipelines and it worked but i need to change rendering pipeline with URP.

Thanks for your help

No, this is actually by design, transparent materials receive semi transparent shadows.

1 Like

Many thanks