Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TF2] See-through corners on some main menu screen textures #6953

Open
Ashetf2 opened this issue Jan 18, 2025 · 0 comments
Open

[TF2] See-through corners on some main menu screen textures #6953

Ashetf2 opened this issue Jan 18, 2025 · 0 comments

Comments

@Ashetf2
Copy link

Ashetf2 commented Jan 18, 2025

Title. This bug has existed since forever

Image

I found a fix for it. You basiclly need to change the "$translucent" parameter to

"$alphatest" 1
"$allowAlphaToCoverage" 1

For the classic Source window borders, the materials are "round_corner_ne" "round_corner_nw" "round_corner_se" "round_corner_sw" and probably "solid_background", all of them in materials/vgui/gfx/vgui
For the window with thick borders, the material is loadout_rect in materials/vgui

For example for loadout_rect

"UnlitGeneric"
{
      "$basetexture" "vgui\loadout_rect"
      //"$translucent" 1
      "$alphatest" 1
      "$allowAlphaToCoverage" 1
      //"$ignorez" 1 (I believe the $ignorez doesn't do anything so I guess it's not necessary to delete it)
}

Image

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

No branches or pull requests

2 participants