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

Resolved Unity Transparent Material Issue

Discussion in 'Universal Render Pipeline' started by FurkanAkkurt, Dec 19, 2022.

  1. FurkanAkkurt

    FurkanAkkurt

    Joined:
    Nov 24, 2022
    Posts:
    4
    I have this issue (Issue Image 1.1, Issue Image 1.2, Material Settings) and I dont know what causing the problem. I made Surface Type = Transparent because need to change opacity of object.

    I also tried it with shader graph, I didn't have much hope so I did an extremely quick search on the internet and created a shader graph like this.

    Custom Shader Graph, Shader Graph Result

    Note: I made this transparent material and added the code on lit.shader
    [ToggleUI] _CastShadows("Cast Shadows", Float) = 1.0
    that's why you don't see the "cast shadows" part on your project, this is not causing the problem I think. nothing changed at all while I tested it with and without it.

    Note2: I'm Using URP Renderer.

    I need to fix this asap, every effort will appreciated.
     
  2. FurkanAkkurt

    FurkanAkkurt

    Joined:
    Nov 24, 2022
    Posts:
    4
    Solved by dithering in shader graph. here is the solution for anyone interested.