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);
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);