How to open or use .shader with shadergraph

I am new to shaders and shader graphs.

I have a project which has a unlit shader.
This shader does get applied to materials without any problem and works as expected.

I don’t know how to use this file with shader graph.

Is there a way to use .shader files with shader graph?

.shader files represent code files, as in hand-coded text files. They can’t be used in Shader Graph, which instead uses .shadergraph files. Unity compiles these graph files to code behind-the-scenes, but the reverse is unfortunately not possible out-of-the-box.

The good news is that a simple unlit shader is really easy to make in Shader Graph. You can find plenty of tutorials online on how to do it.

1 Like