rymohr / webgl-app-template

Retina-ready WebGL app template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This template provides a framework for retina-ready WebGL apps with support for:

  • ES6/7 (through babel)
  • GLSL modules (through glslify)
  • live reloading (through budo / glslify-live)

Getting started

npm install
npm start
open http://localhost:9966

You should now see a big ugly baboon in your browser if everything installed correctly. If you make any changes to the source the page will automatically refresh.

The interesting stuff is in

If you're using Atom you can use the language-glsl package for GLSL syntax highlighting.

apm install language-glsl

TODO

Notes

Originally tried to use glslify-optimize but it doesn't support node 0.12.

Resources

About

Retina-ready WebGL app template

License:MIT License


Languages

Language:JavaScript 100.0%Language:GLSL 0.0%Language:HTML 0.0%Language:CSS 0.0%