提交 c955abf2 编写于 作者: B Ben Adams

Implement pre-mipmapping

上级 9171d077
......@@ -13,6 +13,7 @@ THREE.Texture = function ( image, mapping, wrapS, wrapT, magFilter, minFilter, f
this.name = '';
this.image = image;
this.mipmaps = null;
this.mapping = mapping !== undefined ? mapping : new THREE.UVMapping();
......@@ -48,6 +49,7 @@ THREE.Texture.prototype = {
var texture = new THREE.Texture();
texture.image = this.image;
texture.mipmaps = this.mipmaps;
texture.mapping = this.mapping;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册