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 Shader differences between Scene & Game cameras

Discussion in 'Shader Graph' started by Chippybippers, Dec 17, 2019.

  1. Chippybippers

    Chippybippers

    Joined:
    Sep 18, 2017
    Posts:
    5
    Just got into working with shader graph. I've been working to create the typical water shader with a foam border, which makes use of the Scene Depth node. Looks fine in the scene view, but any game camera ends up displaying some strange results.
    I presume there's some setting I'm missing somewhere, or some problem with the scene depth module?
    (I'm having trouble embedding a screenshot in the post, so the file is attached instead)
     

    Attached Files: