4
$\begingroup$

I've ripped a model from a video game and for whatever reason whenever I import the .obj file all of the materials have an unwanted default specular intensity of 1.000 (I am using the internal Blender Render engine.)

There are thousands of materials, so is there a way to set the intensity to 0.000 for all materials without doing it manually one by one?

This seems to me to be a job for a python script but I'm unfamiliar with both python and scripting inside of blender (maybe I'm wrong about that, anyway).

Any help would be much appreciated. :)

$\endgroup$
1

1 Answer 1

7
$\begingroup$

copy the script below, add a new text block, paste, right click, run script. The specular intensity of all materials will be set to 0.

import bpy

for m in bpy.data.materials:
    m.specular_intensity = 0.0
$\endgroup$
1
  • $\begingroup$ Thanks, that worked! I knew it was probably very simple. Will accept in uh... 4 minutes? $\endgroup$ Dec 10, 2015 at 23:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .