Currently there isn't a way to change the shading model out of the box. There really should be such a away so users can make unlit shaders.
How would you like it to work?
Add an option under Blend Mode called Shading Model which has two choices : Lit or Unlit
When changing the shading model to Unlit Have the graph Re-Compile and also grey out some inputs on the Result Node. Leaving only the Albedo and opacity inputs avalible.
Update GraphCompiler.cs & ShaderTemplate.cs to be accepting of changing shading model.
Having the ability to make unlit shaders would be nice, since I can imagine most people who are doing custom shadergraph shaders are using it for various effects, which are in many cases unlit.
For?
S&Box, Other
What can't you do?
Currently there isn't a way to change the shading model out of the box. There really should be such a away so users can make unlit shaders.
How would you like it to work?
Blend Mode
calledShading Model
which has two choices :Lit
orUnlit
When changing the shading model to Unlit Have the graph Re-Compile and also grey out some inputs on the Result Node. Leaving only the Albedo and opacity inputs avalible.
What have you tried?
Implementing it myself.
Additional context
No response