hi, i really confuse ![]()
how can i use a custom shader(some shaders from wiki or somone write in the forum).
i have a file with “.shader” suffix, but i don’t know how to use it in my material.
sorry for my poor english!
hi, i really confuse ![]()
how can i use a custom shader(some shaders from wiki or somone write in the forum).
i have a file with “.shader” suffix, but i don’t know how to use it in my material.
sorry for my poor english!
The shader needs to be somewhere in your asset folder and have a proper shader name (first line in the shader file).
Unity will put your shader into the shader selection dropdown menu according to this name.
For instance if your shader starts with:
Shader “Transparent/Cutout/Myshader” …
Unity would put your shader into the Cutout subbranch of the Transparent category and name it Myshader in the shader dropdown list of the material window.
Hope this helps.