How to make decals project only to a certain material?

I found a bit more information on the custom decal response. It seems documentation may not have caught up to this feature yet but this user shows off a solid example that might point you in the correct direction.