How to combine two textures and apply them to a mesh

I have an implementation question. I want to draw a heatmap on the ground of the model. My implementation method is to use canvas as a texture and paste it on the plane, but this will lose the original material of the mesh. I want to use the original material of the canvas and mesh. The texture materials are combined and applied to the mesh. As a demonstration, I used a plane on the ground in the picture below. I want to achieve a similar effect.

I made a pg to look at this question and was hoping to get some advice:https://playground.babylonjs.com/#11PXLS#3

Hello! You could use a Node or Shader material for that :slight_smile: see: Babylon.js Node Material Editor (babylonjs.com)

1 Like

You could also use a material plugin to mix the opacity and albedo texture:

2 Likes