Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Lost with render pass

Discussion in 'Universal Render Pipeline' started by Black_Raptor, May 4, 2024.

  1. Black_Raptor

    Black_Raptor

    Joined:
    Nov 3, 2014
    Posts:
    182
    Hello,

    I'm reaching out to you because I'm completely lost... I've used Shader Graph to create a simple shader that allows me to "zoom in" to create an ACOG-type scope. It works perfectly; however, the shader only functions when it's transparent. When the alpha is set to 0, it becomes somewhat opaque. But on my skybox, transparency is active, revealing the rest of my scope mesh... This only happens when I have the skybox in the background.

    Does anyone have any ideas? I use Unity3D 2023.1.16 and URP 15.0.6 same version for ShaderGraph

    Here are some images of the issue:


    When i scope Opaque geometry :

    And my shadergraph :