stackgl / learning-webgl-01

Learning WebGL Lesson 1 converted from vanilla WebGL to use stack.gl.
http://stack.gl/learning-webgl-01/
28 stars 4 forks source link

Upgrade to the latest glslify? #4

Open ranweiler opened 9 years ago

ranweiler commented 9 years ago

These translations of the "learning-webgl-0[1-3]" tutorials are extremely helpful in getting up to speed with WebGL. However, as a newbie, one stumbling block is that they use glslify@1, not glslify@2.

This doesn't cause a problem building the examples in the repos, but when you first go to apply them, you discover (likely the hard way) that the glslify API is different in the latest version on NPM.

This isn't a big deal, as the glslify docs are great, but if there's interest, I'd be happy to go through and just update all the examples in the "learning-webgl-0[1-3]" repos to use glslify@2 and gl-shader. Does that work for y'all?

hughsk commented 9 years ago

That would be wonderful, thanks @ranweiler :)

ranweiler commented 9 years ago

@hughsk, :+1:

z3t0 commented 8 years ago

5 and #6 ... anyone plan on merging haha :smile: