Skip to content

Fix Driver Station Hiding Zone Meshes [SYNTH-344] - #1497

Open
AlexD717 wants to merge 1 commit into
devfrom
alexey/337/zone-material-fix
Open

Fix Driver Station Hiding Zone Meshes [SYNTH-344]#1497
AlexD717 wants to merge 1 commit into
devfrom
alexey/337/zone-material-fix

Conversation

@AlexD717

@AlexD717 AlexD717 commented Aug 12, 2026

Copy link
Copy Markdown
Member

Task

SYNTH-344

Symptom

Scoring/Protected zones are rendered in a inconsistent and weird way when viewed behind a transparent object (ex, driver station polycarbonate plate)

Screenshot 2026-08-12 at 8 19 57 AM Screenshot 2026-08-12 at 8 21 25 AM In this image the red zones are being hidden but the blue ones are not for some reason

Solution

Set depthWrite to false for transparent materials that way they don't hide the zones behind them. Also slightly refactored the material creation so that it doesn't have to be updated in 6 places every time we want to change something.

Verification

  • Looking through driver station windows no longer hides zones behind it.

Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

@AlexD717 AlexD717 self-assigned this Aug 12, 2026
@AlexD717 AlexD717 added the bug Fixes an issue label Aug 12, 2026
@AlexD717
AlexD717 marked this pull request as ready for review August 12, 2026 15:38
@AlexD717
AlexD717 requested review from a team as code owners August 12, 2026 15:38

@RoushilS RoushilS 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.

lgtm

@RoushilS

Copy link
Copy Markdown
Contributor

This is a side effect FYI, not a meaningful issue.

After Change: It looks like the order priority of the meshes switches at a certain camera angle

Screen.Recording.2026-08-13.100612.mp4

Before Change: They render inside of each other

Screen.Recording.2026-08-13.101016.mp4

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

Labels

bug Fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants