Random diffuse colors for material ID map

  • February 05, 2013
  • Blender 2.6x
  • Render: Blender Internal
  • Creator: EugeneKiver
  • License: CC-0
You must be logged in to download.


This script generates random diffuse colors for all object in current scene of the blend file and sets some settings to simplify creation of material ID maps used for making masks in graphical editors like gimp and photoshop

Install addon in blender's preferences, activate it, and follow instructions on screenshots in the archive.

Credits<br style="color: #cccccc; font-family: sans-serif; font-size: 13px; background-color: #1d1d1d;" />Thomas Larsson - I used his pdf book "Code snippets..." as a reference<br style="color: #cccccc; font-family: sans-serif; font-size: 13px; background-color: #1d1d1d;" />Brian Hinton (Nichod) - I used his add chain script as reference to make an add-on from simple script


  • rombout profile picture

    This can be very useful, thanks! Perhaps a feature which deletes the copied scene automatically after you click okay afterwards in other panel? Maybe a panel in the UV editor or something?

    Written January 06, 2017
  • mond profile picture

    Would be good to mention - useful for Blender Render engine. If you work in Cycles and you have crated all materials for cycles, just switching engine to BR doesn't work for addon until you disable node checkbox for each material.

    Written January 06, 2017
  • justb profile picture

    Thank you. Great time saver. Now I don't have to select each mesh individually and change the material color.

    Some of the colors are pretty similar, but different enough for ID selection masks. Useful if you have several materials to change.

    Written February 22, 2017
  • fedeberg profile picture

    Could be very useful

    Written June 25, 2018
  • regiomu profile picture

    This can be very useful.Please update it for blender 2.8. We look forward to.

    Written December 04, 2018