I have shader files in my p5 project running and displaying perfectly on my local server. The files are preloaded via loadShader because I can access the file path.
The shaders are working but an error displays in the console as follows:
And, accordingly, the canvas does not display fullscreen (as it does on my local server).
I’m sure this is not a CSS issue since the error in the console exits and refers to “Cannot read property ‘width’ of undefined”. Is there something I’m missing regarding createShader() ?