Skip to content

Commit 3418618

Browse files
committed
glTF Loader issue - duck is dark mrdoob#8381
1 parent 03d73a6 commit 3418618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/js/loaders/gltf/glTFLoader.js

+2
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
826826
var opacity = USE_A_ONE ? value : (1.0 - value);
827827
uvalue = opacity;
828828
params.transparent = true;
829+
} else if (value) {
830+
uvalue = value;
829831
}
830832
break;
831833
case WebGLRenderingContext.FLOAT_VEC2 :

0 commit comments

Comments
 (0)