From 2da32704adbd9a82aad3e147afd05c0982dd146f Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 27 Dec 2024 13:17:46 -0800 Subject: [PATCH] Wind Waker: Add black bars during cutscenes Fixes #736. --- src/ZeldaWindWaker/Main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ZeldaWindWaker/Main.ts b/src/ZeldaWindWaker/Main.ts index 6e3c40996..3d8881d5f 100644 --- a/src/ZeldaWindWaker/Main.ts +++ b/src/ZeldaWindWaker/Main.ts @@ -663,6 +663,7 @@ export class WindWakerRenderer implements Viewer.SceneGfx { const skyboxDepthTargetID = builder.createRenderTargetID(this.mainDepthDesc, 'Skybox Depth'); pass.attachRenderTargetID(GfxrAttachmentSlot.DepthStencil, skyboxDepthTargetID); pass.exec((passRenderer) => { + this.globals.camera.applyScissor(passRenderer); this.executeListSet(passRenderer, dlst.sky); }); }); @@ -675,6 +676,8 @@ export class WindWakerRenderer implements Viewer.SceneGfx { pass.attachRenderTargetID(GfxrAttachmentSlot.Color0, mainColorTargetID); pass.attachRenderTargetID(GfxrAttachmentSlot.DepthStencil, mainDepthTargetID); pass.exec((passRenderer) => { + this.globals.camera.applyScissor(passRenderer); + this.executeList(passRenderer, dlst.sea); this.executeListSet(passRenderer, dlst.bg);