As we all know, currently Blender doesn’t offer a Include/Exclude from material override (in a user friendly way), so I have been creating a script that somehow overcomes this “limitation”. The need for this script was originated by my own projects and I want to share it with the community.
Basically it adds a new node group just before the Material Output node that controls the looks of the material override with a basic Principle BSDF node. A material that is not using nodes is ignored by the script.
It works in two different ways, it adds the node to all the materials in the scene, to all materials of selected objects or to the selected material of the active object.
If anyone is interested I will post here the script after checking that everything works as expected. I’m open to suggestions about the UI (if is possible inside my capabilities)
Hello,
Finally the addon is finished for Blender 4.0.
The addon hasn’t been tested in any other blender version
!!! The addon is provided as is, please make a copy of your file before using it, I will not be responsible for corrupted files, missing materials/textures, or any other problem derivated from the usage of this addon.
I have used this addon in my projects and I have not encouted any problem.!!!
Now for the fun part:
The panel is located under the Tool in the 3D viewport. The buttons are self explanatory with tooltips.
2- New Logic Update
All operators now work seamlessly with any node group named Custom_Override_material_Node, regardless of its suffix (e.g., Custom_Override_material_Node.001, Custom_Override_material_Node.final). This means that even if nodes are duplicated or renamed with suffixes, the operators will still recognize and handle them correctly.
This enhancement ensures robustness and flexibility, eliminating the need for manual adjustments when working with renamed or duplicated nodes.
3- Added “Sync Override Nodes”.
This feature is designed to help users manage situations where an object with a material override node (e.g., Custom_Override_material_Node.001) is duplicated or imported. Instead of having multiple versions of the override node scattered across the scene, this tool will reassign all such nodes to the original one (Custom_Override_material_Node).
This ensures consistency across your materials and keeps your node groups streamlined, making it easier to manage overrides in complex projects.
Feel free to use and modify the script to suit your needs. Please note that it is shared as-is, and I take no responsibility for any issues that may arise from its use. I have tested it under 4.0 - 4.3.