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

How to use multiple shader source files #52

Open
zemora opened this issue Nov 15, 2019 · 0 comments
Open

How to use multiple shader source files #52

zemora opened this issue Nov 15, 2019 · 0 comments

Comments

@zemora
Copy link

zemora commented Nov 15, 2019

If my fragment shader is implemented in shader1.frag, shader2.frag, ... , How can I use them in one shader? I had this problem because several shader programs in one page may share some same code so I can reuse it.

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

1 participant