How to use multiple viewports in OpenGL?

前端 未结 6 952
说谎
说谎 2020-12-08 07:12

I need to show the same object in OpenGL in two different viewports, for instance, one using ortographic projection and the other using perspective. In order to do this, do

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 08:07

    In GL 4 you can render to many viewports in one rendering pass. See ARB_viewport_array and related concepts.

提交回复
热议问题