The Power of Render Texture : Setting Up and Using

Mirrors, Security Monitors and Secondary POV Cameras all share on useful feature that can be found in Unity, Render Textures. Today we are going to look at how to setup and us them in your game. For this demo, we will be making a UI Secondary Camera View similar to a Security Monitor

To start, we will need to make a new Render Texture. Opening the context menu in your project, we find Render Texture about half way down the Create menu.

Once you’ve renamed your Render Texture, create a Material to apply your render Texture to objects in the Scene. As a Material, we will be able to use it on any surface in our game.

Since we are using it on the UI, we will simply use the Texture with the Raw Image from the UI Menu. If we wanted to place it in the world of the game, we would use a Quad 3d Object and the Material.

Next, We need to create a Camera, separate from the Main Camera, to use for the new view.

Then under Output in the Camera, find the Output Text. By default this will be empty. We want to place the Render Texture in this place. You should see a change in the Camera View in the Scene window.

The Camera’s settings will adjust to the proportions of the object or image that the render texture is attached to. And now you have a a view of the game that is not attached to the Player’s Main Camera.




A Unity Developer with a fondness for Fantasy games and the challenge of pushing boundaries.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 20 Interview Questions For HTML and CSS.

MacOS Window Managers

Am image to demonstrate how window manager can be used to organise windows

DMEX has reached a strategic partnership with Samurai

Take it easy: Autopay with Hugo

List of Programing Language which are easy to learn in 2022….and earn $1000 ….

Looking to the Future

How HTTP/2 reduces Server CPU and Bandwidth

OpenShift — SaaS (Software-as-a-Service)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thomas Kesler

Thomas Kesler

A Unity Developer with a fondness for Fantasy games and the challenge of pushing boundaries.

More from Medium

How to spawn the player object in a platformer game in Unity

What are Unity Skyboxes?

Understanding the LookAt Field in Cinemachine Virtual Cameras

VFX — Adding an exploding asteroid to start enemy waves