problem saving openGL FBO larger than window

后端 未结 4 1608
栀梦
栀梦 2021-02-14 07:30

I\'m rendering into an OpenGL offscreen framebuffer object and like to save it as an image. Note that the FBO is larger than the display size. I can render into

4条回答
  •  遇见更好的自我
    2021-02-14 07:55

    Two questions to start: How are you creating imageSaver and are you sure your width and height are correct (e.g. are you trying to save a 1024 x 1024 image? What size are you getting)?

提交回复
热议问题