Addon to mass change texture image interpolation?

Hello guys,
I am wondering if anyone is aware of an addon that would change texture image interpolation for all image in scene with one click (so you don’t have to do it manually one by one)?

image

You could turn this into an operator, but the basic execution could be something like this:

import bpy

for material in bpy.data.materials:
	for node in material.node_tree.nodes:
		if node.type == "TEX_IMAGE":
			node.interpolation = "Cubic" # Anything from ['Closest','Cubic','Linear','Smart']

Note that this will only change textures in materials. Image textures is other nodetree types need their specific loops.

1 Like

Secrop saves the day again…thank you as usually works like a charm. :slight_smile: