Open novalis opened 2 years ago
I already have a prototype for that, but didn't include it yet. It basically turns named parameters (in top level Remote node) into uniforms. This needs a bit more work but if you need it now, please don't hesitate to contact me on discord. But yeah, it's planned. ;)
That would be great! Are we still planing to do that?
Feature/enhancement description:
I want to have a shader with parameters that I can control from code. In Godot, I can do this by calling
set_shader_param
to set the value of anyuniform
s. But I can't easily create such auniform
from Material Maker. When I tried addinguniform float foo = 1.0;
in theInstance Functions
section of a greyscale node, it somehow got translated toconst float foo = 1.0;
in the shader output. And, while maybe I could adduniform float foo = 1.0;
to my Material's preview and export tabs, that wouldn't help me when previewing only this node (and its dependents).Of course, I could manually hack the shader after exporting it, but for obvious reasons, I would prefer to avoid that.