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

[HL2] Vertices stretch toward world origin on specific citizen models #683

Open
Blixibon opened this issue Feb 20, 2025 · 2 comments
Open

Comments

@Blixibon
Copy link

Describe the bug

The following models in Half-Life 2 have random vertices seemingly stretching to the map origin and other positions:

  • models/humans/group01/male_02.mdl
  • models/humans/group02/male_02.mdl
  • models/humans/group03m/male_02.mdl
  • models/humans/group03m/male_04.mdl
  • models/humans/group03m/male_05.mdl

The issue becomes less intense as the LOD level increases (i.e. as the player gets farther away). This issue appears to exist in both HL2 and HL2:DM, although the models involved are not used in HL2:DM by default.

This is on the latest version of the Source 2013 master branch.

Steps to reproduce

Steps to reproduce the behavior:

  1. Spawn an entity which uses one of the above models. The following command creates a prop_dynamic with the first listed model: prop_dynamic_create "humans/group01/male_02"
  2. Walk around the model in close proximity
  3. See vertices stretching toward the world origin

Media

Here is a short video demonstrating the issue:

2025-02-19.15-22-35.mp4
@Blixibon
Copy link
Author

After further investigation, the issue appears to be coming from the models' mouths. The issue stops occurring when r_teeth is disabled.

I also confirmed that this issue occurs with other users as well, although it does not appear to be present on Linux.

@misyltoad
Copy link
Contributor

You might be able to get more info if you compile your own shader DLL containing teeth and play around with this.

But I will add this to my backlog of things to look at.

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

No branches or pull requests

2 participants