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

Custom Shader #166

Open
krisoft opened this issue Jan 5, 2016 · 1 comment
Open

Custom Shader #166

krisoft opened this issue Jan 5, 2016 · 1 comment

Comments

@krisoft
Copy link

krisoft commented Jan 5, 2016

On #153 we agreed that we should open an issue to discuss how we should implement custom shaders.

Just a short description what we would like to achieve to start the conversation: We would like to be able to define custom fragment and vertex shaders from userspace, and provide uniforms and parameters for them. Is there anything I'm missing @DrakkLord?

Please @DiegoGomezDeck let us know if you need any other information, or concrete examples where we would use it, or anything. Thank you!

@DrakkLord
Copy link

@DiegoGomezDeck correct me if I'm wrong but this would be a feature that would allow user space, for example after creating an Android Widget to call methods which register uniform names with types and attributes with types, load shader sources ( this is probably already done ) and manually select shader program to use based on what the user space wants, with a new type of GLFeature that contains which shader program to use which effectively overrides the key based shader selection.

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

2 participants