I'm writing an addon to allow users to input custom hdri maps as a environment map in blender. It's a bit different from general shader from object context,which you can bind the parameter with bpy.types.Material.slot_setting. I got struck when I implement StringProperty and PointerProperty to bind the custom texture parameter with the image input of the environment texture. Any hints or thought to solve this? (Like binding the string property to the material.slot_settings in the world context)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.