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

How to render a mesh effect passing through a vertical plane / portal?

Discussion in 'Shaders' started by Rod-Galvao, Apr 11, 2017.

  1. Rod-Galvao

    Rod-Galvao

    Joined:
    Dec 12, 2008
    Posts:
    210
    Hi All,

    I'm developing a game with magical portals.
    I'm looking for a visual effect where a monster passing through the portal is rendered only partially, as it is coming out from another dimension.
    So, from a user's perspective s/he wouldn't see the monster if s/he is looking behind the portal but s/he would see it if looking in front of the portal.

    Is there a solution for that?

    Thanks for your time,
    Rod
     
  2. Rod-Galvao

    Rod-Galvao

    Joined:
    Dec 12, 2008
    Posts:
    210
    anyone?
     
  3. pixelChisel

    pixelChisel

    Joined:
    May 19, 2016
    Posts:
    17
    Rod-Galvao likes this.