I haven't looked into the code but this sounds like a job for multiple postprocessing shader stages (look into mtlView.c, stage, MATERIAL, VIEW in the manual)


Visit my site: www.masterq32.de