未验证 提交 d1525963 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #19795 from WestLangley/dev_cube_render_target

WebGLCubeRenderTarget: retain filter settings
......@@ -37,6 +37,10 @@ WebGLCubeRenderTarget.prototype.fromEquirectangularTexture = function ( renderer
this.texture.format = texture.format;
this.texture.encoding = texture.encoding;
this.texture.generateMipmaps = texture.generateMipmaps;
this.texture.minFilter = texture.minFilter;
this.texture.magFilter = texture.magFilter;
const scene = new Scene();
const shader = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册