I'm trying to make objects spawn with colors variating in random ranges. I got the spawning script working but I couldn't find a way or an online guide to access the shader parameters from the script part.
So my material is set up like so: Color1 and Color2 plugged into a VectorMix with a rgb png masking the weight, outputting to the Albedo, now how can I access Color1 and Color2 parameters in the script? And if possible I'd like to keep using the visual shader, can I rename the shader nodes to use them in the script?
I noticed apparently I could change the colors to vectors if that may be easier to change parameters that's ok, but I still wouldn't know how to access them on the spawning script.
I'm new to Godot, I messed around with Unreal in the past and know some programing logic but I'm quite newbie.!