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 I tried making a 2D Sprite Lit Shader, but the sprite's shape is surrounded by a black color

Discussion in 'Shader Graph' started by foxkingg, Apr 5, 2022.

  1. foxkingg

    foxkingg

    Joined:
    Dec 4, 2017
    Posts:
    8
    This is for my 3D game. I'll attach images of the graph, the result and the actual sprite.
    upload_2022-4-5_17-2-50.png
    upload_2022-4-5_17-1-50.png
    upload_2022-4-5_17-3-58.png
     
  2. foxkingg

    foxkingg

    Joined:
    Dec 4, 2017
    Posts:
    8
    Also
    Texture2D Settings:
    upload_2022-4-5_17-7-14.png
    Graph Settings:
    upload_2022-4-5_17-7-39.png
     
  3. foxkingg

    foxkingg

    Joined:
    Dec 4, 2017
    Posts:
    8
    Fixed it!

    I had accidentally put the Alpha Output into AO Input >.< My bad.
     
    Qriva likes this.