xeolabs / xeogl

A WebGL-based 3D engine for technical visualization. Not actively maintained.
http://xeogl.org
Other
1.14k stars 264 forks source link

Make JSON material configs xeogl.PhongMaterial by default #151

Closed xeolabs closed 6 years ago

xeolabs commented 7 years ago
    new xeogl.Entity({
        //...
        material: { // <<--- Should default to xeogl.PhongMaterial
            diffuse: [0.3, 1, 0.3],
            emissive: [0.4, 1, 0.4],
            lineWidth: 6
        }
    });