What would be the best method of tracking information across terrain? Say I want to track ambient temperature across the terrain where different segments of the terrain have different temperatures and over the course of the game temperatures can change so I don't believe I can use a heightmap as I think they are read-only though that would otherwise be a good solution. It would be helpful as well if the suggestion also incorperated ways for diffusion type effects could also be worked out where a overly hot area would slowly diffuse the heat over time.
Any way I can do this in javascript would be best though C# is fine as well.
Thank you