Skip to content

Extend title fog and smoke coverage to taller viewports - #193

Merged
Adubbz merged 2 commits into
TheMoonPeople:masterfrom
anxiousintrovert:fix/title-fog-vertical-coverage
Oct 20, 2026
Merged

Adubbz merged 2 commits into
TheMoonPeople:masterfrom
anxiousintrovert:fix/title-fog-vertical-coverage

Conversation

@anxiousintrovert

@anxiousintrovert anxiousintrovert commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Extend title-screen fog to the visible viewport above and below the original logical frame, and scale the smoke animation vertically so its off-screen return path stays hidden.

The existing title fog uses a partial-height feedback texture and bands bounded to the original screen. On taller-than-4:3 displays, this leaves sharp strips above and below the blurred background.

  • Capture the full title background before drawing the logo and menu when vertical overhang is visible.
  • Extend the first and last fog bands, sampling the full capture with clamped coordinates.
  • Scale the smoke vertically with the visible viewport, matching the existing horizontal adjustment.
  • Retain the original capture/draw path for 4:3 and wider viewports.
  • Invalidate cached fog feedback when the visible layout changes; use frame_image until a fresh capture is available.

Dependency — do not merge yet

Ready for code review, but do not merge yet. Requires TheMoonPeople/Kazarov#18 to merge first, then Chronicle's Kazarov submodule must advance to the merged commit and the integration checks must pass. This PR currently does not change the submodule pointer.

Validation

Integration-tested with master 50eaff6 plus the existing Android support and the linked Kazarov fix:

  • Galaxy Z Fold 7: full-height blur confirmed; user confirmed visible smoke return movement is gone.
  • Windows RTX 3080 at 1092x984: title blur covers top and bottom.
  • Windows 1280x720 and 640x480: deterministic frame-300 captures are pixel-identical with and without the title changes.
  • Android x86_64 emulator and Ubuntu WSL software Vulkan: title rendered at the tall viewport.
  • Shared renderer suite: 56 selected tests passed.
  • Clang Format applied; Clang Tidy run (existing naming/declaration warnings remain).

No macOS runtime test was available. These are rendering checks, not a performance benchmark. The local PAL test extraction reports 35 altered/missing entries from earlier test setup; tested title/menu scenes loaded successfully.

The branch contains only the title changes on current master. No ps2 files, Android-specific UI code or game assets are changed. Rendering remains through shared Vulkan.

Review fix validation (6362221): Clang syntax check passed for title_port.cpp. A focused harness using the actual capture/selection functions passed initial capture, tall-to-wide-to-tall, tall resize, and recreated/missing-target cases. No new device rendering run was performed for this follow-up; CI is pending.

@anxiousintrovert
anxiousintrovert marked this pull request as ready for review October 17, 2026 05:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T13:52:41.806678Z 6362221 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7eb5587087

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread port/src/title/title_port.cpp Outdated
Comment on lines +56 to +58
if (gfx::VisibleLogicalRect(gfx::kMainTarget).y >= 0.0f) {
return;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Refresh the cached fog frame after layout changes

When a named fog frame has already been created, changing the title-screen Aspect option (or resizing) from a tall viewport to 4:3/wide takes this return and stops updating it. On switching back to tall, TitlePortFog accepts the still-registered handle before the new snapshot at port/src/title/titleloop.cpp:424, so it feeds seconds-old contents through the 112–114/128 feedback instead of using the continually updated frame_image; that stale background then persists as a visible jump/ghost for several frames. Track whether the target has a capture for the current layout, or seed it before reuse.

Useful? React with 👍 / 👎.

@anxiousintrovert

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 6362221079

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Adubbz
Adubbz merged commit 8aed00a into TheMoonPeople:master Oct 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants