Skip to content

Conversation

@toaarnio
Copy link
Contributor

@toaarnio toaarnio commented Oct 1, 2012

I like to put my shaders into separate files and load them via XHR, so I added a Shader factory method for that. It's currently limited to synchronous XHR, which is of course not good performance-wise if you have lots of shaders, but it's a start.

Also added the ability to pass a pre-existing canvas to GL.create(), which I've found convenient.

@rpsirois
Copy link
Contributor

+1
Add to master branch!

@z3dev
Copy link

z3dev commented Dec 22, 2016

+1
Please merge

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

Successfully merging this pull request may close these issues.

3 participants