Skip to content

Commit

Permalink
vs code, y u not save
Browse files Browse the repository at this point in the history
  • Loading branch information
wizgrav committed Dec 30, 2017
1 parent 5141606 commit 8c1185b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Shader.prototype.fragmentMain = [
" float l = dot(color.rgb, W);",
" color.a = iTransition < 1.0 ? iTransition * clamp(0.2,1.0,l): 1.0;",
"#else",
" color.a = iTransition < 1.0 ? 0.66: 1.0;",
" color.a = iTransition < 1.0 ? iTransition * max(color.b, max(color.r, color.g)): 1.0;",
"#endif",
" gl_FragColor = color;",
"}"
Expand Down

0 comments on commit 8c1185b

Please sign in to comment.