Hi.
How to override texture, node texture(file) using setParameter.
I try base_color.filename = 'white_mask.tx'( I try full path) and same name node base_color.filename = 'whitemask_tex'
Not working.
filename is a parameter of an image node, so you would have to select an image node, and then set the filename parameter.
Or match a standard_surface node, and then set base_color
Is it possible to replace a node with a texture in base_color.
What I mean.
See image.
There is a shader with which in the basecolor is connected a blendColors1, I want to replace it with a filenode( white.tx ).
I write select in setParameter:
Selection: *obj_opacityAI
Assigment: base_color = 'white_tx.outColor'
Shading color changing to black, but its wrong result
Sorry, I forgot that an operator cannot link a shader to an rgb parameter like base_color.
You can set the shader or disp_map parameters on an object, because those are not RGB parameters