-
Notifications
You must be signed in to change notification settings - Fork 18
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
Clean up shaders #4
Comments
Do you plan to use a tool to include the .glsl files in the compiled binary, or is it fine to just load an external file (from Assets ?) ? |
@Seb-C loading an external file is fine. The |
This was addressed by #6, so closing. |
We declare shaders in the examples as
[]byte
in the Go source code -- which is semi confusing for people reading over it (mixing between Go->GLSL->Go etc). We should instead declare these in seperate .vert and .frag files in the example's directory (and comment them well).See azul3d-legacy/gfx-gl2#1
The text was updated successfully, but these errors were encountered: