GL_INVALID_VALUE: Offset overflows texture dimensions

Do it like so for now: Img Texture - JSFiddle - Code Playground

You are running into the following issue:

You potentially have to update your GLSL since the shader always uses the natural dimensions of your texture. Not the dimensions defined via CSS.

1 Like