Uploaded October 2018 | Updated November 2026, 4 days ago
Lets learn Shader Graph by building our ripple shader entirely within Shader Graph.
The goal of this series is to reproduce the ripple shader we've been working on and compare/contrast the process of building the same shader in both tools that Unity makes available to you.
To get started with this version of the ripple shader we're going to introduce Shader Graph, get everything setup and start building our rings. The end goal is a shader that can color everything inside of the inside radius one color and color everything outside of the radius a second color. We'll use the world space position and Shader Graph's conditional node to build this and we'll also take some time to experiment with a few other options Shader Graph makes available.
I'm using this as a way to learn Shader Graph myself so there will be a number of mistakes, missteps and poor assumptions in this video and the rest of the series. Hopefully we can overcome some common problems together so you can avoid them in your own projects!
You'll need Unity 2018 and a project running the Lightweight Render Pipeline (LWRP) to be able to use Shader Graph and build this shader. If you are using an older version of Unity or have a project which isn't using the LWRP then you may want to consider watching the original Ripple Shader we built using Unity's Surface Shader language.
You can review what we're building in shader code to build the Ripple shader here: youtube.com/playlist?list=PLEwYhelKHmigqgiurk2lz6l8gRtVaL2zz
Come Join the World of Zero Discord server? We'd love to chat: discord.gg/hU5Kq2u
Lets learn Shader Graph by building our ripple shader entirely within Shader Graph.
The goal of this series is to reproduce the ripple shader we've been working on and compare/contrast the process of building the same shader in both tools that Unity makes available to you.
To get started with this version of the ripple shader we're going to introduce Shader Graph, get everything setup and start building our rings. The end goal is a shader that can color everything inside of the inside radius one color and color everything outside of the radius a second color. We'll use the world space position and Shader Graph's conditional node to build this and we'll also take some time to experiment with a few other options Shader Graph makes available.
I'm using this as a way to learn Shader Graph myself so there will be a number of mistakes, missteps and poor assumptions in this video and the rest of the series. Hopefully we can overcome some common problems together so you can avoid them in your own projects!
You'll need Unity 2018 and a project running the Lightweight Render Pipeline (LWRP) to be able to use Shader Graph and build this shader. If you are using an older version of Unity or have a project which isn't using the LWRP then you may want to consider watching the original Ripple Shader we built using Unity's Surface Shader language.
You can review what we're building in shader code to build the Ripple shader here: youtube.com/playlist?list=PLEwYhelKHmigqgiurk2lz6l8gRtVaL2zz
Come Join the World of Zero Discord server? We'd love to chat: discord.gg/hU5Kq2u






**: A new copy of your service will be constructed every time it is requested by an object.
* **[Scoped](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.servicecollectionserviceextensions.addscoped)**: Your service will be instantiated once for the entire execution scope - usually covering a single web request. Every reference to the service within that scope will share the same copy of the service.
* **[Singleton](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.servicecollectionserviceextensions.addsingleton)**: Your service will be instantiated once - the first time it is requested - and then that instance will be reused everywhere else it is needed for the entire time your application is running.
You can learn more about using .NETs Dependency Injection features at these links:
* http://aka.ms/usingdotnetdependencyinjection
* https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection
If youre interested in using Dependency Injection in Spring Boot and Java you can learn more about that here: https://youtu.be/EsbMbg34CpQ
If youre interested in learning more about how to use Dependency Injection in your Unity games you can learn more about that here: https://youtu.be/e0KWsizPYAw
***
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Using Dependency Injection in ASP.NET](https://i.ytimg.com/vi/T2hD6Imb6y8/mqdefault.jpg)



