BabylonJS: Decals Cheat Sheet

Decals are used to add details on the created mesh – details like bullets, holes, etc.

The syntax to add Decal:

var newDecal = BABYLON.Mesh.CreateDecal("decal", mesh, decalPosition, normal, decalSize, angle);

Leave a Reply

Your email address will not be published. Required fields are marked *