p5.EasyCam
p5.EasyCam copied to clipboard
HUD usage
hi every body... i was trying to use HUD option with beginHUD and endHUD... there was no error, but nothing was shown... this is my code:
mainCam.beginHUD(RENDERER,500,500);
mainCam.endHUD(RENDERER);
i found the below error in p5.js: Uncaught (in promise) TypeError: Cannot read property 'mat4' of undefined at p5.Shader._setMatrixUniforms (p5.js:81305) at p5.Shader.bindShader (p5.js:81248) at p5.RendererGL.drawBuffers (p5.js:79721) at p5.RendererGL.rect (p5.js:74662) at p5.rect (p5.js:53387)
thanks in advance @diwi
I had the same issue and the answer was that I was using an old lib version. New one here: https://github.com/freshfork/p5.EasyCam