Graphic Shaders is an Unity Editor Window that able to view all include shaders, add new shaders, remove shaders, sorting shaders, remove null reference or duplicate shaders. Created by Thanut Panichyotai (@LuviKunG)
To open Graphic Shaders Window, simply go to your Unity menu bars and select Window/LuviKunG/Graphic Shaders Management
You will see a list to shaders and included into your build. You can add/remove or sort these shaders.
On the tool bar in window,
- Remove Null Reference will remove any null reference in list.
- Remove Duplication will remove any shaders in list that is duplicated by mistake.
- Sort by Name will sort all shaders in the list by name.
Locate to your Unity Project. In Packages folder, you will see a file named manifest.json. Open it with your text editor (such as Notepad++ or Visual Studio Code or Legacy Notepad)
Then merge this json format below.
(Do not just copy & paste the whole json! If you are not capable to merge json, please using online JSON merge tools like this)
{
"dependencies": {
"com.luvikung.graphicshaders": "https://github.com/LuviKunG/GraphicShaders.git#1.0.0"
}
}
If you want to install the older version, please take a look at release tag in this git, then change the path after # to the version tag that you want.
In Unity 2019.3 or greater, Package Manager is include the new feature that able to install the package via Git.
Just simply using this git URL and following with version like this example.
https://github.com/LuviKunG/GraphicShaders.git#1.0.0
Make sure that you're select the latest version.
If you doesn't have this package before, please redirect to this git https://github.com/mob-sakai/UpmGitExtension then follow the instruction in README.md to install the UPM Git Extension to your Unity.
If you already installed. Open the Package Manager UI, you will see the git icon around the bottom left connor, Open it then follow the instruction using this git URL to perform package install.
Make sure that you're select the latest version.