function debugLightMaps() {

        __scene.traverse(function (m) {

            if (m instanceof THREE.Mesh && m.userData.baking.bakeMe) {

                previewLightmaps(m.geometry.faces.length, m.material.lightMap.image.data, m.geometry.faceVertexUvs[1], m.userData.baking.textureWidth, m.userData.baking.textureHeight, m.userData.baking.uvInfo);

            }

        });

    }
/**
     * Opens a window(tab..) in the browser with every created uv lightmap.
     */
Opens a window(tab..) in the browser with every created uv lightmap.
Opens a window ( tab .. ) in the browser with every created uv lightmap .
function debugLightMaps() {
        __scene.traverse(function (m) {
            if (m instanceof THREE.Mesh && m.userData.baking.bakeMe) {
                previewLightmaps(m.geometry.faces.length, m.material.lightMap.image.data, m.geometry.faceVertexUvs[1], m.userData.baking.textureWidth, m.userData.baking.textureHeight, m.userData.baking.uvInfo);
            }
        });
    }
function debugLightMaps ( ) { __scene . traverse ( function ( m ) { if ( m instanceof THREE . Mesh && m . userData . baking . bakeMe ) { previewLightmaps ( m . geometry . faces . length , m . material . lightMap . image . data , m . geometry . faceVertexUvs [ 1 ] , m . userData . baking . textureWidth , m . userData . baking . textureHeight , m . userData . baking . uvInfo ) ; } } ) ; }
Opens a window(tab..) in the browser with every created uv lightmap.
Opens a window ( tab .. ) in the browser with every created uv lightmap .