Search Unity

Need little help with magic mirror

Discussion in 'Scripting' started by szagii, Jun 21, 2016.

  1. szagii

    szagii

    Joined:
    Jul 13, 2014
    Posts:
    7
    I'm making simple platformer game and I want to reproduce this effect:



    But I completely don't know where to start :(
     
  2. vikankraft

    vikankraft

    Joined:
    Feb 25, 2016
    Posts:
    88
  3. jimroberts

    jimroberts

    Joined:
    Sep 4, 2014
    Posts:
    560
    You'd need to first set up a second camera to render a reflection texture to the wall. Give your "fake platforms" a special layer and the real platforms a visible layer. Then remove the "fake platform" layer from the Culling Mask of the reflection camera.
     
    LeftyRighty likes this.