Hi there! I was wondering if there's any way to have sliders (like Properties in Shaders) in Amplify Shader Functions. I'm constructing some basic generator functions like simple gradients, reflected gradients etc and having sliders would provide good UX. (I'm sorry if there's already a way to do this but I can't find any info about this)
Sorry, reading now I realized I failed to describe my problem
I didn't mean Material/Shader Properties. I was talking about Function Inputs. I just wanted to be able to Min-Max it like a property (on graph level) and have a slider in the node properties window (not on the graph itself) to avoid more value nodes.
I'll attach some screenshots to make it clear:
This is my Function:
If I attach a Property to the Function Input's "Input", the value disappears from the "Internal Parameters" in Function Node. If I detach it, the values appear but they're simply input fields with no min-max/sliders features.
This is what I see on Shader graph:
It would be cool to have the same Float Parameters as sliders for Function Nodes to avoid additional/unneeded value nodes on the graph.
I'm planning to build a series of Functions to generate some procedural shapes I frequently use, such as this: (simply rendering a circle with a size value):
This can be expanded to render a ring etc. but the more complex the shape gets, the more values need to be exposed. I'd love to set things on the node properties window (and optionally connect inputs like say, a Multiply node) and have like a tiny simple substance designer in my hands!
Maybe it's already there and I don't know how to do it, maybe it's not super useful I don't know. I hope I was able to describe this time, sorry for the bad English :/