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);