-
Notifications
You must be signed in to change notification settings - Fork 61
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
Look into supporting #include for shaders #69
Comments
Done. Need to document this. We can include up to 100 levels of sources as max sanity check. utils.glsl // A bunch of functions library.glsl #include path/to/utils.glsl
#incluide path/to/utils_2.glsl
#incluide path/to/utils_3.glsl
... test.glsl #version 330
#include path/to/library.glsl
#include path/to/something_else.glsl |
Seriously considering revamping this one a bit. |
For some reason this seems to run into problems with includes of the form #include "somepath/somefile". In particularly when trying to include the lygia shader library and the cnoise function for example. |
Issues with quotes was resolved. Still a lot more here that could be done |
We should look into supporting
#include
for shaders.Need to figure out how to handle line numbers.
The text was updated successfully, but these errors were encountered: