Material Viewport Color from Nodes

Material Viewport Color from Nodes

Material Viewport Color from Nodes is an dd-on designed to set material viewport display attributes based on their material node trees.

Key features:

  • Scope Limitation: Define the scope of material application, be it the active material, active object, selected objects, or all materials in the Blender file.
  • Node Evaluation: For the active material, there’s an option to evaluate the currently selected node instead of just the output node.
  • Traversal Mechanism: Starting from the output node (or the selected node, if chosen), the add-on traverses through connected nodes, evaluating based on node type, available sockets, and configuration until a set value is found.
  • Supported Shader Nodes: A variety of shader nodes are supported, including principled, emission, toon, anisotropic, diffuse, glass, glossy, hair, refraction, subsurface scattering, translucent, and velvet. Some nodes also allow for the retrieval of metallic and roughness values.
  • Miscellaneous Nodes: Supports various miscellaneous nodes across all value types, such as RGB, Value, Map Range, Group node, Brightness/Contrast, Gamma, RGB Curve, Clamp, Image and environment textures, Shader to RGB, and Mix.
  • Custom Node Evaluation: If a node isn’t supported, users can either use the “Selected node” operator for evaluation or suggest its inclusion via the GitHub issues tab.