maandag 18 februari 2013

gre/glsl.js · GitHub

glsl.js is a subset* of a WebGL library which focus on making the GLSL (OpenGL Shading Language) easy and accessible for vizualisation and game purposes (2D or 3D). * Subset, because we only focus on using a fragment shader (the vertex shader is static and take the full canvas size), But don't worry, you have a long way to go with just one fragment shader. The concept is to split the rendering part in a GLSL fragment from the logic part in Javascript of your app/game. Both part are linked by a set of variables (the state of your app/game). glsl.js aims to abstract every GL functions so you don't have to learn any OpenGL API. What you only need to care about is the logic in Javascript and the rendering in GLSL.

via Delicious https://github.com/gre/glsl.js

Geen opmerkingen: