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

How to multiply blendmode clouds on the scenery below?

Discussion in '2D' started by Ditmarin, Aug 26, 2022.

  1. Ditmarin

    Ditmarin

    Joined:
    Oct 25, 2021
    Posts:
    2
    Hey folks,

    I was wondering if anyone could help me understand how to make these 'clouds' only appear as multiply-blended shadows on the scenery below. Like photoshop-multiply. See the shader graph below for how it is setup right now, completely copied from a tutorial video on youtube. I'm probably doing something wrong, do I need to use the camera or something?

    I have seen several topics about these, but they are all different usecases, so I was wondering if someone could take a look at the graph setup and educate me :)

    howtomultiply.gif upload_2022-8-26_15-4-43.png
     
  2. Ditmarin

    Ditmarin

    Joined:
    Oct 25, 2021
    Posts:
    2
    If I can add anything to the above to clarify please let me know, can't seem to find the answer.
     
  3. kennyy_

    kennyy_

    Unity Technologies

    Joined:
    Apr 7, 2021
    Posts:
    94
    Hi @Ditmarin, if you're using Unity 2022.1 and URP 13, you can try using the Multiply blend mode (under graph settings) to achieve this effect for any sprite sub targets (Sprite Lit, Sprite Unlit or Sprite Custom Lit).

    upload_2022-8-29_11-55-21.png