Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Feature Request Blend mode in Sprite-Lit shaders in ShaderGraph

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

  1. ThundThund

    ThundThund

    Joined:
    Feb 7, 2017
    Posts:
    177
    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.
     
  2. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    134
    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. ThundThund

    ThundThund

    Joined:
    Feb 7, 2017
    Posts:
    177
    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. ThundThund

    ThundThund

    Joined:
    Feb 7, 2017
    Posts:
    177
    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.
     
unityunity