I'm not sure if this is bug or not but seems like it.
I'm not able to add multiple Color inputs to a
shader image generator. Steps to see this problem is go to
> file > new shader > image generator then click on
> + new port and select a
Color from the list. Then go to add a second
Color1 by clicking on
> + new port again and the second variable
Color1 overwrites the first variable
Color. Then try to add
> + new port again select
Real and this will overwrite the
Im not sure if this is by design or not but the compiler says something to the effect of their being a re declaration of
Color or what ever you name the variable. I have tried by assigning the input to variable and without and still get the same behavior.
It also happens with all other port types . every time you add a new variable uniform by clicking
> + new port it will erase whatever variable is already there and replace it with the new one. this happens when the shader is untitled. once I save it the library
Modules and then use the shader inside a composition like a subcomp and then edit the shader from the
Modules folder Im able to get multiple
Real float types for variables to work but not multiple colors.
What am I doing wrong ? I think it should be possible to add multiple inputs to an untitled blank shader.