wowserhq / wowser

World of Warcraft in the browser using JavaScript and WebGL
MIT License
240 stars 63 forks source link

Add support for glsl extensions to glslify-loader #134

Closed fallenoak closed 8 years ago

fallenoak commented 8 years ago

Seeing as our shaders are all written in GLSL, it seems appropriate to support .glsl extensions for shaders.

After we add support, perhaps we can start migrating existing shaders from .frag and .vert to .glsl

Update Weirdly, it turns out .frag and .vert are conventions in a fair number of projects, including (if I read this correctly), the reference GLSL compiler from Khronos. That said, I still think it's odd, and we should consider moving to .glsl for consistency.

fallenoak commented 8 years ago

Fixed by https://github.com/wowserhq/wowser/pull/141