What is the best way to combine two images into a single texture

Hey all, I have a use case where I have two texture files that I need to combine (multiply image1 on top of image2) and plug the combined result into the albedoTexture slot in a PBR texture. This “combining” will not happen every frame, only when the texture needs to be updated based on user input. Also in this use case I cant pre-merge them before hand as the result will be determined by the user during run time.

Anyway, since I was not able to find anything already in the forums on how best to do this, I thought I would post the question to see if perhaps someone could point me in the right direction on how best approach it. Thanks.

Hi. You can combine textures in shader and now easest way play with shaders is node material editor How To use the Node Material - Babylon.js Documentation

Thanks, I will give this a look over.

1 Like