Felix Palmer | @pheeelicks | www.pheelicks.com
Felix Palmer | @pheeelicks | www.pheelicks.com
Slides: felixpalmer.github.io/tetris.gl/presentation.html
Code: github.com/felixpalmer/tetris.gl
Slides: felixpalmer.github.io/tetris.gl/presentation.html
canvas
for a WebGL contextquad
to rendervertex
& fragment
uniforms
and attributes
canvas
elementuniform
global informationvarying
flow from vertex to fragment shader, interpolatedattribute
per vertex informationcanvas
for a WebGL contextquad
to rendervertex
& fragment
uniforms
and attributes
canvas
elementJavaScript controls all state, WebGL just doing display
Why stop with a pipeline when we can have feedback loop?
Gives us state on the GPU!