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. Dismiss Notice

Question Different post process shader "intensity" on editor Vs. scene view

Discussion in 'Shaders' started by ZerinLabs, Nov 14, 2020.

  1. ZerinLabs

    ZerinLabs

    Joined:
    Mar 8, 2019
    Posts:
    32
    Hi there!

    I'm creating some post processes using URP & shader-graph and I noticed that some of my effects have a different blending or intensity on the game view in comparisson with the scene view...

    Apparently it looks like something related with the camera (gamma/linear mode or something similar...) but I can't tell

    Here you have some sample images:
    • Top = scene view
    • Bottom = game view

    upload_2020-11-14_17-12-4.png

    upload_2020-11-14_17-14-5.png

    upload_2020-11-14_17-14-49.png

    Please note how on the game view the "intensity" of the effect is a lot more noticeable...
    Do you have any idea guys? I'm struggling with it and currntly I'm a bit lost.

    thanks in advance :)
     
  2. ZerinLabs

    ZerinLabs

    Joined:
    Mar 8, 2019
    Posts:
    32
    FIXED

    Apparently, if you have two cameras tagged as "main camera" on the scene...
    the post processes are computed twice on the scene view (but not on the game view...)

    upload_2020-11-14_21-53-37.png

    upload_2020-11-14_21-55-33.png