pixel icon indicating copy to clipboard operation
pixel copied to clipboard

Alllow shader / uniforms to be updated during the game loop

Open JasonMDavey opened this issue 4 years ago • 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.

JasonMDavey avatar Nov 17 '21 05:11 JasonMDavey