[JS] A little WebGL shader class - The WWW

Users browsing this thread: 1 Guest(s)
bottomy
Registered
I decided to take a little break from what I was working on yesterday (spent most of the day fixing bugs and optimizing for my game so got kind of bored) and decided to finish off this old project.

It's not that full featured of a shader class, but the main point of it was to expose the attributes and uniforms of your GLSL programs, as actual properties in JS. So you can access those variables of your GLSL program just like you would in the GLSL program itself.

So not sure how many WebGL guys there are here, but hopefully some can test it out. I doubt it's ready for actual usage as I only did a few tests so there's likely some problems with it.

[https://github.com/ScrimpyCat/Basic-WebG...der-Class)


Messages In This Thread
[JS] A little WebGL shader class - by bottomy - 24-02-2013, 02:22 PM
RE: [JS] A little WebGL shader class - by venam - 24-02-2013, 04:24 PM
RE: [JS] A little WebGL shader class - by bottomy - 24-02-2013, 04:46 PM
RE: [JS] A little WebGL shader class - by jmbi - 24-02-2013, 04:26 PM