- Home /
Render world differently for 2 camaras
I wish to make shader for refraction. I have 2 cameras. (Main Camera and RenderToTexture Camera) I do not wish to show transparent refracting object to RenderToTexture camera. I will use RenderTexture to make that object look transparent with some refraction.
Answer by xife · Oct 31, 2015 at 12:44 PM
The answer is cullingMask http://docs.unity3d.com/ScriptReference/Camera-cullingMask.html and GameObject's layers http://docs.unity3d.com/ScriptReference/GameObject-layer.html
Your answer
Follow this Question
Related Questions
Second camera dissappears when level is reset 1 Answer
What's the best cinemachine camera to use for an isometric game? 0 Answers
Camera follow a sphere which look at another object on the ground 0 Answers
How can i active again a render texture after set it to null ? 1 Answer
How to achieve a 3rd person camera for walk on planet games? 0 Answers