How could I create a FBO with stencil buffer in OpenGL ES 2.0?
- by Alphones
I need stencil buffer on 3GS to render planar shadow, and polygon
offset won't work prefect, still has z-fighting problem. So I use
stencil buffer to make the shadow correct, it works on win32 gles2
emulator, but not on iPhone. After I added a post effect to the whole
scene. The stencil buffer won't work even on win32 gles2 emulator.
And I tried…