Where to start to achieve this effect?

Hi, can i do this method with decals? Im tried, material surface its work, but when i change material to deffered decal, this solution stop working.