Feature request: custom properties for obects
My idea is to allow custom parameters to be made for each object or mesh. These parameters would be RGB, digits, text, decimals etc. These object parameters could then be accessed in nodes for further control of the material. For example I could have a very complex material applied to several objects but if I want them to be different colors I could have different' custom RGB parameters put in to each mesh and the single material would take care of the rest.
3 Comments
Objects already have custom properties. What it sounds like you're requesting is the ability to access these properties from materials.
Is this not already possible with OSL materials?
Agreed. I've been trying to make a scene with a bunch of cupcakes and I think I'll have to resort to using python to make a custom data structure where each entry contains info about which cupcake object to duplicate and what color to set in its shader. Sadly, trying to figure this out with code is much more straightforward than trying to do anything via the UI.
These already exist sort of, but you're right, a more thorough implementation would be fantastic.