Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Render shadow on full transparent material

Discussion in 'Universal Render Pipeline' started by julian-perso, May 25, 2022.

  1. julian-perso

    julian-perso

    Joined:
    Oct 30, 2012
    Posts:
    5
    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
     
  2. Bordeaux_Fox

    Bordeaux_Fox

    Joined:
    Nov 14, 2018
    Posts:
    589
    No, this is actually by design, transparent materials receive semi transparent shadows.
     
    julian-perso likes this.
  3. julian-perso

    julian-perso

    Joined:
    Oct 30, 2012
    Posts:
    5
    Many thanks