Applying two materials
You just need 1 material.
In the shader editor use this node setup and you get what you want:

UPDATE:
setup with two images:
important: the &quot;upper&quot; image must have pixels with alpha &lt; 1 inside of the png (in my case here the &quot;toppng&quot;)