Skip to content

Commit

Permalink
Set .flipY to false (mrdoob#23607)
Browse files Browse the repository at this point in the history
  • Loading branch information
WestLangley authored and donmccurdy committed Mar 10, 2022
1 parent 31e87a2 commit 6fade42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderers/WebGLRenderTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class WebGLRenderTarget extends EventDispatcher {
this.texture = new Texture( image, options.mapping, options.wrapS, options.wrapT, options.magFilter, options.minFilter, options.format, options.type, options.anisotropy, options.encoding );
this.texture.isRenderTargetTexture = true;

this.texture.flipY = false;
this.texture.generateMipmaps = options.generateMipmaps !== undefined ? options.generateMipmaps : false;
this.texture.internalFormat = options.internalFormat !== undefined ? options.internalFormat : null;
this.texture.minFilter = options.minFilter !== undefined ? options.minFilter : LinearFilter;
Expand Down

0 comments on commit 6fade42

Please sign in to comment.