Search Unity

Question Setting up Shader Graph with Tilemaps

Discussion in 'Shader Graph' started by Bluerex87, Aug 13, 2021.

  1. Bluerex87

    Bluerex87

    Joined:
    Sep 10, 2017
    Posts:
    1
    Hi,

    I am trying to play with shader graph, but I can't even get my sprites rendering correctly... I am using these through a tile map, but just putting the texture 2D into the fragment color causes some bad distortion.
    upload_2021-8-13_9-32-36.png

    If I use the regular sprite lit shader, it looks as I'd expect.
    upload_2021-8-13_9-33-32.png

    Any tips?
     
  2. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,511
    Missing alpha. On Graph Inspector, change Opaque to Transparent then hook up alpha.
     
    Bluerex87 likes this.