diff --git a/progress/fungi/util/Shader.js b/progress/fungi/util/Shader.js index eed4d24..ddcebc3 100644 --- a/progress/fungi/util/Shader.js +++ b/progress/fungi/util/Shader.js @@ -36,7 +36,8 @@ function loadShader(js){ for(var i=0; i < js.materials.length; i++){ mat = Material.create(js.materials[i].name,js.shader.name); - if(js.materials[i].useBlending !== undefined) mat.useBlending = js.materials[i].useBlending; + if(js.materials[i].useBlending !== undefined) mat.useBlending = js.materials[i].useBlending; + if(js.materials[i].useSampleAlphaCoverage !== undefined) mat.useSampleAlphaCoverage = js.materials[i].useSampleAlphaCoverage; if(js.materials[i].uniforms){ uni = js.materials[i].uniforms;