It’s nice to use #ifdef’s in an OpenGL* shader. This allows a shader file do things like contain a vertex shaders and pixel shaders in the same file.
By Dr. Michael J. Gourlay
One neat thing about HTML5 is the ability to store data locally, and a common use for that is creating a high score board for your game. The following is how I recently deployed this.