Inside the Promise.all().then() callback, the WebGL constants (gl.TEXTURE_2D, gl.RGBA, gl.UNSIGNED_BYTE) were still bare 'gl.', not groundGl.*. Fixed.
Inside the Promise.all().then() callback, the WebGL constants (gl.TEXTURE_2D, gl.RGBA, gl.UNSIGNED_BYTE) were still bare 'gl.', not groundGl.*. Fixed.