Lontahv wrote:Anyway, maybe you could ask a couple of people how the color/brightness levels are for them
I agree to be one of them, lol !


Lontahv wrote:Anyway, maybe you could ask a couple of people how the color/brightness levels are for them
tangara wrote:Lontahv wrote:Anyway, maybe you could ask a couple of people how the color/brightness levels are for them
I agree to be one of them, lol !![]()
Jonnee wrote:The I noticed that I can't see the by light affected areas on all of my objects. This seems to mean that all of these objects are "glowing" very strong. I think that I have to reduce the "amb" slider of all objects/materials.
Problem: I have used something around 850 objects right now. Please don't ask me how many different materials are used! I have no idea. Something around 500 maybe...
Conclusion:
I need a script.Changing every material by hand would take alot of time...
Is anyone able to write a script for me, that automatically get's all used materials and changes the "amb" value to a percentage of the value that is used now?
I have to test different percentages. I was testing 50% of amb, but it still was much too bright. I think that I have to get down to 20% oder 10%....
import bpy
new_value = 0.5
for material in bpy.data.materials:
material.setAmb(new_value)
import bpy
percent_change = 50
for material in bpy.data.materials:
material.setAmb(material.getAmb()*(percent_change/100.0))
Users browsing this forum: No registered users and 5 guests