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.

Question Render Texture Transparency Issue

Discussion in 'Universal Render Pipeline' started by Gionagx, Dec 5, 2022.

  1. Gionagx

    Gionagx

    Joined:
    Nov 9, 2020
    Posts:
    8
    Hello,
    I'm using Unity 2021.3.13f1 .
    To obtain transparency in a render texture i created a custom shader that deletes a specific color from an image.
    This was working fine in a previous version but isn't anymore. The black you see in the UI image should be trasparent, but it broke after upgrading.
    The Render Texture camera doesn't have post process turned on (i read that it could be the issue) but the image still isn't trasparent.
    Moreover, the shader works fine in scene view but it doesn't in game view.
    How do i obtain the desired transparency?
    upload_2022-12-5_18-33-35.png
    Shader
    upload_2022-12-5_18-23-16.png
    UI Game View
    upload_2022-12-5_18-35-8.png
    UI Scene View
     

    Attached Files:

    Gyro_Zeppeli likes this.