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

Question Scene Depth Node - Strange results mobile

Discussion in 'Shader Graph' started by ed-spatialsauce, Jun 30, 2020.

  1. ed-spatialsauce

    ed-spatialsauce

    Joined:
    Mar 4, 2019
    Posts:
    10
    Hey there,

    I was following a tutorial today to create a water shader in shader graph. When I created the foam it worked fine in the editor but when I tested my build on Android (Pixel 1), I was getting strange results. I have attached some images showing the different results from editor, from device, and also the nodes in shader graph. You can see the foam on the phone screenshot is inconsistent and doesn't circle intersecting objects correctly.

    Does anyone have any ideas how to resolve this? I feel like I have forgotten to do something simple.
     

    Attached Files:

  2. ed-spatialsauce

    ed-spatialsauce

    Joined:
    Mar 4, 2019
    Posts:
    10