Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Super Simple Multiply ShaderGraph

Discussion in 'Shader Graph' started by Horus_Sungod42, May 19, 2020.

  1. Horus_Sungod42

    Horus_Sungod42

    Joined:
    Oct 30, 2014
    Posts:
    99
    Hi all,
    I'm unable to make any shader in the shadergraph that simply "multiplies"/darkens what is behind it. An example of such a shader would be mobile/particle/multiply. Of course, I want to add my own options, and have it receive fog.

    An additive shader is super easy, just have an unlit master, place it to transparent then additive. Feeding it a checkered texture will make what is behind the white checkers paler and what's behind the black checkers the same.

    Putting the surface type of the unlit master to premultiply (there is no Multiply option) does not make a multiply shader. Using the PBR master node, which DOES have a multiply, does not create a multiply shader either.

    Can the shadergraph make multiplicative shaders?

    Thank you

    result.jpg
    (the desired result, using the mobile/multiply shader)