- Home /
How can I create a gradient color background for my game, without using skybox?
I cannot use skybox as my camera angle is top down, so the player would never see the horizon and thus never see the gradient.
I just need a static 2d gradient color background which doesn't change when the camera moves. If a shader script is needed, I need some guidance as I am new to shaders.
Answer by toddisarockstar · Jun 04, 2019 at 04:50 AM
you can simply use a 2d plane with your background assigned as a texture. just parent it to the camera
In front of the camera, set to render "lowest" so everything else renders on top. Parented so no matter where the camera moves or angles, the plane follows.
Answer by LilGames · Jun 05, 2019 at 02:21 PM
Try this asset: https://assetstore.unity.com/packages/2d/textures-materials/sky/fantasy-gradient-skybox-61758
Your answer
Follow this Question
Related Questions
2D - draw sprite only on one background color 0 Answers
HSV to RGB 1 Answer
Make a camera background image in only one batch? 1 Answer