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

How to use 3D Render Texture for 3d portals instead of 2D?

Discussion in 'Shaders' started by JustMeBrian, Nov 15, 2020.

  1. JustMeBrian

    JustMeBrian

    Joined:
    Jul 13, 2014
    Posts:
    16
    So I wanted to make a portal between two locations. Instead of a standing portal it was on the ground. It was pretty easy with a simple RenderTexture.

    Now I found the flat surface was limiting and wanted to have 3D portals. I thought maybe a 3D render texture would help but I've never used it and the only tutorials/info I can find about the subject are about Volumetric rendering with 3D textures. Is there any big differences between the 3d render textures and 3d textures? I'm also a bit confused because I read I can only create them in code but the render texture you create in unity has a 3D option in the dropdown bar.

    Could I just use the info about 3d textures for 3d render textures?

    How complicated is it in comparission with 2d render textures?