Facepunch / sbox-issues

177 stars 12 forks source link

[Shadergraph] Unlit shading model #6006

Open QuackCola opened 4 months ago

QuackCola commented 4 months ago

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?

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

Gmod4phun commented 4 months ago

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.