提交 93beb970 编写于 作者: L Lokesh Raj Arora

added missing transparency check to material loader

上级 87022729
......@@ -92,6 +92,7 @@ MaterialLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
if ( json.side !== undefined ) material.side = json.side;
if ( json.opacity !== undefined ) material.opacity = json.opacity;
if ( json.transparent !== undefined ) material.transparent = json.transparent;
if ( json.transparency !== undefined ) material.transparency = json.transparency;
if ( json.alphaTest !== undefined ) material.alphaTest = json.alphaTest;
if ( json.depthTest !== undefined ) material.depthTest = json.depthTest;
if ( json.depthWrite !== undefined ) material.depthWrite = json.depthWrite;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册