Skip to content

Conversation

@donmccurdy
Copy link
Member

@donmccurdy donmccurdy commented Nov 24, 2025

Description

Previously a billboard's image offsetX/Y and width/height were encoded as quantized 12-bit floats (0–1) before texture sampling. For texture coordinates "in general" this might be reasonable precision, but knowing offsets into the texture atlas are integers 0–16K in practice, we can skip quantization and losslessly pack the uint16 values into the same space.

Preview:

TODO

Issue number and link

Testing plan

TODO

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

PR Dependency Tree

This tree was auto-generated by Charcoal

@github-actions
Copy link

Thank you for the pull request, @donmccurdy!

✅ We can confirm we have a CLA on file for you.

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.

2 participants