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

Alllow shader / uniforms to be updated during the game loop #303

Open
JasonMDavey opened this issue Nov 17, 2021 · 0 comments
Open

Alllow shader / uniforms to be updated during the game loop #303

JasonMDavey opened this issue Nov 17, 2021 · 0 comments

Comments

@JasonMDavey
Copy link

Currently, it appears that we're only intended to ever use one fragment shader, and uniforms are only updated once per frame.

A little reworking should permit multiple shaders to be used / switched between, and for uniforms to be changed between draw calls, which would allow much greater flexibility in applying different effects to different graphical elements in a scene.

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

2 participants