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

Use GPU instancing for notes #964

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from
Draft

Conversation

theli-ua
Copy link

@theli-ua theli-ua commented Feb 6, 2025

Posting as a draft to get early feedback.
As of posting GPU instancing will only be used for rectangular normal note.
It'll be one instanced draw per (mesh, material) tuple basically. So if only normal rectangular notes are rendered it'll be 3 total for them, like this (frame debugger)

image

@theli-ua theli-ua changed the base branch from dev to engine-fixes February 7, 2025 00:58
@theli-ua theli-ua changed the base branch from engine-fixes to dev February 7, 2025 00:58
@theli-ua theli-ua force-pushed the batches-2 branch 3 times, most recently from ee1cb68 to 9bb436e Compare February 11, 2025 06:42
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

Successfully merging this pull request may close these issues.

3 participants