Possible to create dropdown box in Shader Builder?
Alley Rat
Posts: 391
I'm assembling Larry Gritz's Oren-Nayar shader, and I have a list of values for rho, sigma and average diffuse/albedo for common surfaces. I'd like to be able to have a dropdown similar to the dropdown for Material in Poser's Scatter material node that would assign the proper values to the three output variables. Is this possible in DS3 or DS4.5 within Shader Builder, or would I need a script to do this.
Thank you in advance.
Comments
I'm not sure that you can do that - maybe with an Enum type, mapping the values of the enumeration to the desired values of the variable, but I think even then you would get only a slider unless you hacked the script that populates the Surfaces pane (which is generated by Shader Builder).