Skip to content

Commit

Permalink
Wind Waker: Add black bars during cutscenes
Browse files Browse the repository at this point in the history
Fixes #736.
  • Loading branch information
magcius committed Dec 27, 2024
1 parent 4a53221 commit 2da3270
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ZeldaWindWaker/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
Expand All @@ -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);

Expand Down

0 comments on commit 2da3270

Please sign in to comment.