Hello, first post here.
After 16 years of 3dsmax I decided it was time to go all in on blender development.
I have written exporters, internal renderers and other things for 3dsmax, and now I’m writing a render addon for blender.
I’ve gotten a long way already, but I’m stuck on something relatively easy (I assume).
I have now overridden the material GUI, and I have my renderer in the dropdown menu, and some custom properties in my material (float values for bump\sigma values, which works as expected. (See attachment).
But now I want specific slots for my textures, for example one for diffuse, one for bump, one for specular and so on.
I was kinda expecting that I could just add a custom property just as what I did with float value, then it would assign a gui item for selecting a texture, then I could click it and add a texture to the custom property.
If I choose ‘cycles’ then it has this small button on the right side where you define the diffuse color, you can click there and select ‘image texture’, that is what I need in my custom material, when I switch to my renderer it show the ‘diffuse color’ but not any way to choose ‘image texture’ and assign that.
I need some guidance with this, so that I can understand how this part works…