3 ms·
Deferring a Phong shader gives 'good enough' dynamic lighting for 2D dynamic sprite lighting and is fast. https://29a.ch/2010/3/24/normal-mapping-with-javascri
by deepnet 11y ago
Deferring a Phong shader gives 'good enough' dynamic lighting for 2D dynamic sprite lighting and is fast.
https://29a.ch/2010/3/24/normal-mapping-with-javascript-and-canvas-tag https://29a.ch/2010/3/24/normal-mapping-with-javascript-and-...
- deleted 11y ago[deleted]
- ashmud 11y agoThe demo on the left (the face) has a disorienting "ripple" effect, at least in FF44. The Buddha appears fine, though.