- Home /
If it is possible, how do I go about rendering the same scene differently through two different cameras simultaneously?
If it is possible, how do I go about rendering the same scene differently through two different cameras simultaneously?
I have set up a small scene; the objects in the scene all have the default "Standard" shader applied to them with hand-painted textures.
Two cameras are rendering this scene - Camera A renders the world as seen through the avatar's eyes, Camera B needs to render the parallel world and shows up in a mini-view in the UI.
Camera B must render the same scene as Camera A simultaneously, but with the objects shaded completely differently.
I am new to shaders and looking into replacement shaders regarding this problem. As of posting this question I am not yet sure if they will solve my problem, I am still looking.
Answer by alextoofurious · Jun 12, 2019 at 06:30 AM
One solution could be duplicating everything in the scene and changing the shader, so you could tell the camera A to render the main level and the camera B to render the duplicated one.
Thank you for the reply. But I am looking for a solution that is also scalable. If I were to use this same solution in game levels it would make the game unnecessarily massive.