提交 6df942c1 编写于 作者: R Ricardo Cabello

Merge pull request #6299 from satori99/alphatest

Add support for alphaTest parameter in JSON materials
......@@ -50,6 +50,7 @@ THREE.MaterialLoader.prototype = {
if ( json.opacity !== undefined ) material.opacity = json.opacity;
if ( json.transparent !== undefined ) material.transparent = json.transparent;
if ( json.wireframe !== undefined ) material.wireframe = json.wireframe;
if ( json.alphaTest !== undefined ) material.alphaTest = json.alphaTest;
// for PointCloudMaterial
if ( json.size !== undefined ) material.size = json.size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册