Open mgrider opened 8 months ago
Ahh, I need to add support for >
. Thanks for the report!
Good news there is the .ifGreaterOrEqual
operator that can be used in your case. https://github.com/praeclarum/ShaderGraphCoder/blob/2fa82c55244668585939ec119c920846dd1b3206/Sources/ShaderGraphCoder/Operations.swift#L89
I love the idea of this, and really want to convert my shader graph materials to use it, but I'm stuck on an issue that I'm not sure how to solve.
All I want is to create a multi-color material. (Ideally with the colors moving, but I'm okay adding that in the next step.) Here's what I have so far:
Incidentally, I think something like this could go in (or get linked from) the readme to help get folks started: