faiface/pixel

Alllow shader / uniforms to be updated during the game loop

JasonMDavey opened this issue · 0 comments

Currently, it appears that we're only intended to ever use one fragment shader, and uniforms are only updated once per frame.

A little reworking should permit multiple shaders to be used / switched between, and for uniforms to be changed between draw calls, which would allow much greater flexibility in applying different effects to different graphical elements in a scene.