Skip to content

Commit

Permalink
more changes for lesson 54
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchpunk committed Nov 10, 2017
1 parent 95df561 commit 1219080
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion progress/fungi/util/Shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1219080

Please sign in to comment.