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

Exclude RenderTexture from one Post-Processing and apply on another

Discussion in 'Image Effects' started by Radeg90, Sep 28, 2018.

  1. Radeg90

    Radeg90

    Joined:
    Feb 28, 2017
    Posts:
    38
    I have a game where player can make a portal to another world.
    The portal is a plane with a render texture which shows other dimension.
    It looks pretty similar to Portal game:


    But the problem is I want to make other world to look totally different. For example:
    World 1: bloom, glow, bright colors
    World 2: gray-ish, darkness, etc.

    It's simple to swap post processing profiles during teleport player to another world and it's working, when player gets into the portal, he's being teleported and camera loads other post processing file - it's simple and it's working, but the render texture shows only current world post processing effects where it should ignore it and display other world effects. When I'm in the first world it shows me that 2nd world inside portal is bloomed and bright.
    How can I make post processing to exclude the render texture, and let it apply 2nd world post processing effects?