high resolution draw canvas with webgl
问题 I want to get a snapshot of my webgl canvas and I want a high resolution capture so I increased my canvas size. This automatically changes gl.draingBufferWidth and gl.draingBufferWidth . I then set viewport and then render the scene. My code works correctly in low resolution (under 4000*4000) but in higher resolutions there are many problems. If the resolution is a bit higher the snapshot not does not completely show. See attached file. If the resolution increases more nothing is shown. And