提交 afc67263 编写于 作者: D Don McCurdy

[gltf-loader] Support doubleSided=true param with PBR materials.

上级 70febf8e
......@@ -1589,6 +1589,12 @@ THREE.GLTF2Loader = ( function () {
}
if ( material.doubleSided === true ) {
materialParams.side = THREE.DoubleSide;
}
if ( materialParams.opacity !== undefined && materialParams.opacity < 1.0 ||
( materialParams.map !== undefined &&
( materialParams.map.format === THREE.AlphaFormat ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册