I want a script that convert 'Blur' value of bitmap to 1

Hi,

Usually when materials are applied with a small value of a blur on it's bitmap like 0.1 it make render stay for long time, sometimes I want to change all my blur value to one, could some one help me to make a script to do that?

I will be very thankful
Best regards

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yasdamas's picture

How about Blur Offset?

THanks a ton, what if we need to zero blur offset?
where do we get the dictionary of all code names of parameters?
trying to learn how to replicate this for other uses

barigazy's picture

...

This example will works on Bitmap textures only. Change map class if you want another map type

fn bitmapBlur class:Bitmaptex =
(
	node = getClassInstances class
	if node.count > 0 do
		for map in node do
			map.coords.blur = 1.
)
bitmapBlur()

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.