Skip to content

Blender Script to Set the Viewport Color based on a nodetree

License

Notifications You must be signed in to change notification settings

johnnygizmo/set_viewport_color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

set_viewport_color

Blender Script to Set the Viewport Color based on a nodetree

Select objects, right click and choose "Set Viewport Color"

This takes any of the following nodes in the tree and averages their color input, then set the viewport color of the object to that new color. If a color input is connected, it is ignored.

  • BSDF in the name
  • Specular
  • Emission
  • Ambient Occlusion
  • Subsurface Scattering
  • RGB

If none of these nodes exist in the tree, the color will be set as full white

If a principled BSDF node is used, the default roughness and metallic will be set as well.

About

Blender Script to Set the Viewport Color based on a nodetree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages