-2

如何在 OpenGL ES 2.0 中制作反射地板,在其中我将看到对象的反射:球体、立方体等。我看到的一切都是桌面的 OpenGL 示例。

4

1 回答 1

1

Reflections are typically done with a technique called render to texture. You render your initial scene to an FBO with an attached texture, then use that texture to render the reflection image onto a quad in the final scene. I think this article with help:

http://processors.wiki.ti.com/index.php/Render_to_Texture_with_OpenGL_ES

于 2013-06-14T05:02:46.203 回答