- Home /
Transparent background main camera ,Transparent main camera
Hello everybody,
I would like to make an application that changes what the camera sees. I've been looking for a few days, but I can not have the main camera background transparent and see what the camera sees I managed to do it with tutorials but not for Cardboard As soon as I go on the binocular aspect, it does not work anymore.
Do you have any solutions?
(sorry for my english .. ^^ ')
Answer by Kudorado · Dec 26, 2018 at 04:26 AM
I don't know how to render texture result as transparent, but there's some step to make an output texture transparent.
Step 1:
-Create an camera calling Transparent Camera, set it BackgroundColor to an Secrect Color.
Step 2:
-Create an Render Texture -> Assets/Create/Render Texture, called Render Result.
Step 3:
-Set RenderTexture of Transparent Camera to Render Result.
Step 4:
-Find pixels color match with Secrect Color in Render Result and set it to transparent, see reference link below.
I do not understand what you explain to me, but I express myself may be wrong. for simplicity, I want to see the piece around me, but in stereoscopic
Your answer