You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
User Story
Acceptance Criteria
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.
The text was updated successfully, but these errors were encountered: