|
@@ -126,7 +126,7 @@ class TextureNode extends UniformNode {
|
|
|
|
|
|
|
|
const texture = this.value;
|
|
const texture = this.value;
|
|
|
|
|
|
|
|
- if ( builder.isFlipY() && ( texture.isRenderTargetTexture === true || texture.isFramebufferTexture === true || texture.isDepthTexture === true ) ) {
|
|
|
|
|
|
|
+ if ( builder.isFlipY() && ( ( texture.image instanceof ImageBitmap && texture.flipY === true ) || texture.isRenderTargetTexture === true || texture.isFramebufferTexture === true || texture.isDepthTexture === true ) ) {
|
|
|
|
|
|
|
|
if ( this.sampler ) {
|
|
if ( this.sampler ) {
|
|
|
|
|
|