Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Feature Request Blend mode in Sprite-Lit shaders in ShaderGraph

Discussion in '2D Experimental Preview' started by AlexVillalba, Dec 27, 2020.

  1. AlexVillalba

    AlexVillalba

    Joined:
    Feb 7, 2017
    Posts:
    349
    Hi everybody, currently it is not possible to change how a sprite is blended with the underlying pixels (additive, multiply, etc.), whereas it is allowed in normal Lit shaders of URP. It would be great to have that option.
     
    appci_nakano_shohei likes this.
  2. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    190
    Hi @ThundThund! I wanted to confirm that you meant this option in the Graph Inspector in Shader Graph:
    Screenshot 2021-01-05 at 5.17.04 PM.png
    It would be great to get an idea of what you are trying to achieve with this option. A visual reference would be especially useful!
     
  3. AlexVillalba

    AlexVillalba

    Joined:
    Feb 7, 2017
    Posts:
    349
    Yes, that's the option I'm referring to.
    Decals or VFX. There are many examples out there: https://www.pinterest.jp/pin/481251910176439676/

    The result of normal alpha blending is quite different to using additive blending, for example.
     
  4. AlexVillalba

    AlexVillalba

    Joined:
    Feb 7, 2017
    Posts:
    349
    Hi, I'm re-reading my answer and I think I expressed poorly, causing some confusion. What I was asking for is to have the same option you shown in the picture but in the Sprite-Lit and Sprite-Unlit shaders, which is currently not available.