MASTER MATERIAL that handles unassigned textures

Hi everyone

I’m trying to create a Overall Master Material that can handle unnassigned textures.

Eg the user decides not to use/assign any cavity map

So the TextureSample generates an error.

Fiddling with several nodes, I could not find a workaround. (catching the error or checking if texturesample isValid)

Can anyone help me please?

This problem happens when you “Force Delete” a texture that is used in your material. you must reassign a Texture to materials to fix this Error.

Wouldn’t it just be a matter of putting a white image as default in the Cavity param.