提交 f2db6b75 编写于 作者: F Fernando Serrano

GLTFExporter: Apply alphaCutoff just if alphaMode = MASK

上级 ff4613fd
......@@ -1603,7 +1603,11 @@ THREE.GLTFLoader = ( function () {
materialParams.transparent = true;
materialParams.alphaTest = material.alphaCutoff || 0.5;
if ( alphaMode === ALPHA_MODES.MASK ) {
materialParams.alphaTest = material.alphaCutoff || 0.5;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册