How to set lines on both sides for different colors

  1. How do I set the two faces to a different color or the same color?
  2. Is it possible to add a play animation when drawing lines?
    Babylon.js Playground

// lighting

    var light = new BABYLON.HemisphericLight("hemi", new BABYLON.Vector3(1, 1, 0), scene);

//Enable duplex

    var mat = new BABYLON.StandardMaterial("mat", scene);

    mat.backFaceCulling = false;

    customMesh.material = mat;
1 Like