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$
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$
  • $\begingroup$ Thanks, that worked! I knew it was probably very simple. Will accept in uh... 4 minutes? $\endgroup$ – Jace Cotton Dec 10 '15 at 23:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.