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

Replace Vec4 Colorbuffer with Float #330

Closed
thkruz opened this issue Nov 25, 2021 · 1 comment
Closed

Replace Vec4 Colorbuffer with Float #330

thkruz opened this issue Nov 25, 2021 · 1 comment

Comments

@thkruz
Copy link
Owner

thkruz commented Nov 25, 2021

User Story

  • As a developer
  • I want colors to be passed to the GPU as a single integer instead of a vec4
  • So that far less resources are required for displaying color

Acceptance Criteria

  • Given dots are drawn to the screen correctly
  • When dotsManager.draw is called
  • Then the color attribute will only require a single integer

Commentary

Currently every color is passed as a vec4 but it is almost always the same colors. Replacing these with integers that correspond to a uniform dictionary of colors would be way more efficient. This limits the ability to use gradient colors, but may be worth it for the performance gain.

@thkruz thkruz self-assigned this Dec 18, 2021
@thkruz thkruz added this to the 5.2 milestone Dec 18, 2021
@thkruz thkruz removed their assignment Oct 18, 2022
@thkruz thkruz modified the milestones: 7.1, Future Release Aug 10, 2023
@thkruz
Copy link
Owner Author

thkruz commented Oct 21, 2023

Replaced by #773

@thkruz thkruz closed this as completed Oct 21, 2023
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

1 participant