Share material among objects

Godot Version

4.5.1 stable

Question

Hi guys. I have a workflow issue about materials and textures. Is it possible for two sets of textures to share the same material, or does having different textures always mean I need separate materials?

Define “share”.


I found myself hitting on “Material Override” a lot. So if I have 30+ unique objects in a scene and each has its own set of textures. Am I supposed to have 30+ different materials?

Thinkin out loud here, I remember watching a shader tutorial saying materials are shaders and textures are the inputs. So I wonder if I can just have a single material for these unique objects but somehow swap textures. Given they only differ in textures and everything else is the same

Basically - yes.

1 Like

:writing_hand:

Thanks for the quick answer!