We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
It is possible to generate/compile GLSL shaders on the client at run time with GLSLIFY?
I'd like to build custom shaders in real time, based on user's input, but it seems GLSLIFY needs to run before that a build/time?
A practical example if that I may want to use interpolation method X or Y. Instead of having a statement such as:
if (condition) { interpolationX else { interpolationY }
I'd like to just have:
interpolationX (or interpolationY depending on the user's input)
The reason is mainly to reduce the number of else/if statements in the code in order to make it run as fast as possible.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
It is possible to generate/compile GLSL shaders on the client at run time with GLSLIFY?
I'd like to build custom shaders in real time, based on user's input, but it seems GLSLIFY needs to run before that a build/time?
A practical example if that I may want to use interpolation method X or Y.
Instead of having a statement such as:
I'd like to just have:
The reason is mainly to reduce the number of else/if statements in the code in order to make it run as fast as possible.
Thanks!
The text was updated successfully, but these errors were encountered: