From 8ddd959e2d8d374e9032e25bab19c9a5c8de83d7 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 28 Apr 2026 18:38:18 +0200 Subject: [PATCH] Initialize depth textures with explicit dimensions (1, 1) --- src/rendering/advanced-rendering.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rendering/advanced-rendering.ts b/src/rendering/advanced-rendering.ts index fcf44af2..c046ea54 100644 --- a/src/rendering/advanced-rendering.ts +++ b/src/rendering/advanced-rendering.ts @@ -278,8 +278,8 @@ function configureEffectComposerDepthTextureIsolation( // postprocessing clones this source depth texture by default. Three.js // texture clones share a Source, which can alias the source and stable // depth attachments during gl.blitFramebuffer on WebKit. - const sourceDepthTexture = new DepthTexture(); - const stableDepthTexture = new DepthTexture(); + const sourceDepthTexture = new DepthTexture(1, 1); + const stableDepthTexture = new DepthTexture(1, 1); this.depthTexture = sourceDepthTexture;