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

Refactor Aconite's shader-handling code #15

Open
colinbdclark opened this issue Jan 1, 2019 · 0 comments
Open

Refactor Aconite's shader-handling code #15

colinbdclark opened this issue Jan 1, 2019 · 0 comments

Comments

@colinbdclark
Copy link
Owner

At the moment, it's pretty awkward to work with Aconite shaders. They are somewhat hidden behind the aconite.glRenderer interface, which requires odd additional options for uniforms in addition to a model, as well as layers of wrapping of arrays that is confusing and error prone. Some useful comments about the issues can be found in Aconite's source code as well as the video example that was created for an older version of our Onward paper.

We should introduce a somewhat closer to the metal component that represents a GL shader and that is fully modelized, and which is responsible for loading (via a separate component), compiling, and attaching shaders as well as managing their runtime state.

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

No branches or pull requests

1 participant