提交 1b4983b6 编写于 作者: M Mr.doob

Rescued webgl_morphtargets example.

上级 b99cb66e
......@@ -37,7 +37,6 @@
z-index:100;
}
a { color:red }
</style>
......@@ -106,9 +105,12 @@
var light = new THREE.AmbientLight( 0x111111 );
scene.add( light );
var geometry = new THREE.BoxGeometry( 100, 100, 100 );
var material = new THREE.MeshLambertMaterial( { color: 0xffffff, morphTargets: true } );
var material = new THREE.MeshPhongMaterial( {
color: 0xffffff,
shading: THREE.FlatShading,
morphTargets: true
} );
// construct 8 blend shapes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册