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

Some resource packs can break particle culling #1722

Open
Lolothepro opened this issue Dec 1, 2024 · 1 comment
Open

Some resource packs can break particle culling #1722

Lolothepro opened this issue Dec 1, 2024 · 1 comment
Labels
triage Needs triaging and confirmation

Comments

@Lolothepro
Copy link
Contributor

Minecraft Version: 1.21.1

NeoForge Version: 21.1.83

Steps to Reproduce:

  1. Apply this resource pack: https://modrinth.com/resourcepack/3d-particles
  2. Enable particle debugging and break a block, or wait for a slime to jump
  3. The particles will have an offset

Description of issue:

2024-12-01_15-50-15_compressed.mp4

The particles are not aligned with the culling hitbox

@Lolothepro Lolothepro added the triage Needs triaging and confirmation label Dec 1, 2024
@XFactHD
Copy link
Member

XFactHD commented Dec 20, 2024

The linked resource pack uses a core shader to generate the 3D geometry, ignoring particle scaling and, crucially, generates them at the wrong height (vanilla block break particles are perfectly centered in the hitbox, the 3D particles are centered at the top edge of the bounding box). The bounding box used for culling is already expanded a bit beyond the particle's collision bounding box, so I don't think there is anything we can realistically do about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs triaging and confirmation
Projects
None yet
Development

No branches or pull requests

2 participants