How to create a Gradient Sky Background for a 2D game in Unity (Shader Graph)

Uploaded by Trever Mock
Share: Twitter Facebook
In this video, I show how to create a Gradient Sky Background for a 2D game in Unity using Shader Graph.

The video includes installation and setup of the Universal Render Pipeline (URP) for a 2D project. If you've already done that in your project, you shouldn't miss anything by skipping ahead to the 'Create ShaderGraph File' timestamp.

Thank you and I hope the video was helpful! ?

► TIMESTAMPS
0:00 Intro
0:54 Project Setup
1:02 Install URP
1:46 Configure URP
2:56 Create ShaderGraph File
3:34 ShaderGraph Overview
4:49 2-Color Gradient Shader
8:42 Applying the Shader
10:34 Fix _MainTex Warning
11:23 3-Color Gradient Shader
14:02 Outro

► GITHUB PROJECT
https://github.com/trevermock/gradient-sky-background

► MUSIC
The backing music is custom made by @themaykit.
https://www.instagram.com/themaykit/

► DISCORD
Come ask questions, suggest a video topic, or just hang out!
?Discord ➔ https://discord.gg/99gcnaHFf9

► THE PATH OF REN
Wishlist 'The Path of Ren' on Steam!
? Steam (The Path of Ren) ➔ https://store.steampowered.com/app/1619920

► SOCIAL MEDIA LINKS
Follow my current project!
? Twitter ➔ https://twitter.com/trevermock
? Instagram ➔ https://instagram.com/trevermock/
? TikTok ➔ https://tiktok.com/@trevermock
? Website ➔ https://shapedbyrainstudios.com/

► SUPPORT
Any support is much appreciated! I'll receive a commission on any assets purchased using the below Unity Asset Store link.
?️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=1100lrxm5
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/trevermock

#gamedev #unity2d #shadergraph