提交 a410d43a 编写于 作者: M Mr.doob

Fixed webgl_materials_blending_custom. Fixes #7521.

上级 011c8d3e
......@@ -189,13 +189,11 @@
for ( var i = 0; i < images.length; i ++ ) {
var map = THREE.ImageUtils.loadTexture( images[ i ] );
mapsNoPre.push( map );
var mapPre = map.clone();
var mapPre = THREE.ImageUtils.loadTexture( images[ i ] );
mapPre.premultiplyAlpha = true;
mapPre.needsUpdate = true;
mapsNoPre.push( map );
mapsPre.push( mapPre );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册