Search Unity

LWRP shader graph doesn't support transparency correctly.

Discussion in 'Shaders' started by MCrafterzz, Jan 16, 2019.

  1. MCrafterzz

    MCrafterzz

    Joined:
    Jun 3, 2017
    Posts:
    354
    The shader's surface is set to transparent and the texture's input alpha is transparency is set to true, but following strange result occurs anyway:

    Any ideas how to solve this as it occurs for all textures which is a big problem.
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,352
    No idea what your node graph looks like.
    No idea what your texture looks like.
    No idea what your material or mesh look like.

    Not enough information to know what the cause of the issue is, or really even what the issue you're trying to solve is.

    However I'm going to go out on a limb and say you don't want the pink sections. My guess is this has nothing to do with Shader Graph and you have a mesh with multiple materials applied to it, one of which is using a shader that's not compatible with the SRP you're using.
     
  3. MCrafterzz

    MCrafterzz

    Joined:
    Jun 3, 2017
    Posts:
    354
    Thank you! The problem was that the overlay material was null which falls back to the standard material from the standard render pipeline which isn't compatable with LWRP and therefor turns pink