Making a metal material dynamically react to tempurature change only where character is pointing?

Basically I want steel to turn red hot in the spot fire particles from a flame thrower collide with it. Or turn frosty in an area ice particles collide with it. Both should be able to follow the same concept with variations in particles and material. So I just need to know the best concept to realistically do this. I’m assuming it would be similar to making laser burns on metal that a laser gun hits but I’ve only seen this with decals. The issue is I want the cold and heat to be able to wrap around corners of a wall not just the flat surfaces. Please just send me in the right direction and I will figure out the rest.

Unity’s Projector would be one way of doing it.