"Painting" over existing (PBR-/Standard)-Material?

Hi,

is it possible to draw an image on an existing material? For example I have a cube with a leather-material. Now I want to place a transparent logo on the material.

Are there any ideas, how to solve this idea/problem?

Thanks in advance and best regards,

Julian

This is exactly what decals are for : Decals | Babylon.js Documentation

Hi Sebavan,

thank you very much. That’s exactly what i was looking for. Do you know if it’s possible to use normals/bump maps related to decals? What if I want to “stamp” a smiley into the box? or if i want to “point out” a decal?

Best regards

Since a decal is actually a mesh, one may use all available textures for decals, bumpTexture as well.
Example - https://playground.babylonjs.com/#1BAPRM#692

2 Likes