- Home /
Always render object behind everything (not multiple cameras)
Hello,
I am working on a day/night cycle that has a rotating sphere of clouds, stars and a moon. To render those in the back, I am using a second camera rendering only those objects. Unfortunatly, that creates a weird glitch in the basic unity water reflection. So, is there any other way I could render those in the back without the use of a second camera?
Thanks for the help!
Answer by Yoshinator2 · May 19, 2017 at 08:42 PM
You can easily do this by assigning a sorting layer under the sprite renderer. Sorting layers at the bottom of the list will be shown on the top.
If this fixed your problem, please accept my answer! If not, feel free to ask more questions
I am rendering 3D objects, so there is no Sprite Renderer component.
Your answer
Follow this Question
Related Questions
Rendering objects on top of eachother 0 Answers
Multiple post processing profiles? 2 Answers
Camera layering with post processing? 0 Answers
Main Camera Stops working or just freezes? 0 Answers
Render object with different shader depending on the camera 2 Answers