Skip to content

FIX - Transparent highlights omitting HUDs#5893

Open
trish-sl wants to merge 1 commit into
secondlife:developfrom
trish-sl:fix-5874
Open

FIX - Transparent highlights omitting HUDs#5893
trish-sl wants to merge 1 commit into
secondlife:developfrom
trish-sl:fix-5874

Conversation

@trish-sl

@trish-sl trish-sl commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

fixes #5874

As mentioned in the issue thread, the change to have the debug alphas render with the post water pass made the HUD alphas not render since HUD are rendered in the pre-water pass. Adjusting the check to include HUDs fixes the issue with HUD alphas not highlighting.

@github-actions github-actions Bot added the c/cpp label Jun 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts where the “Highlight Transparent” (debug alpha) overlay is rendered so that it also appears on HUD attachments, which render in the pre-water alpha pass, and additionally prevents the debug overlay from rendering during reflection renders.

Changes:

  • Render the debug alpha overlay during HUD rendering (pre-water) as well as the normal post-water alpha pass.
  • Skip rendering the debug alpha overlay when LLPipeline::sReflectionRender is active.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +270 to +271
if (!rigged && (LLPipeline::sRenderingHUDs || getType() == LLDrawPoolAlpha::POOL_ALPHA_POST_WATER))
{ //render "highlight alpha" on final non-rigged pass for non-HUDs (HUDs only run pre-water alpha pass)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The regression in the latest release is specifically HUDs being broken (not rendering transparent highlights). The brightness of highlights didn't change meaningfully (or at all, from what I can see).
However, transparent highlights are brighter than they used to be pre-PBR. This should likely be tracked as a separate issue. Up to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight Transparent still broken, now HUD Attachment highlight is missing

3 participants