User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: C++ OpenGL/GLFW Integration - Question on rendering

11 Jun 2018, 20:35

The frame buffer used by _noesisRenderer->Render(); is the one that needs to have a stencil buffer associated.

For offscreen render we create and set our own internal frame buffers, that is why you have to set and clear everything after that call.
 
TheMPC
Topic Author
Posts: 8
Joined: 29 May 2018, 23:25

Re: C++ OpenGL/GLFW Integration - Question on rendering

11 Jun 2018, 20:45

Perfect, thanks for clarifying, I'll go figure out if there's anything else I'm doing wrong with the stencil buffer settings. I don't want to bother the people here too much so I'll only drop back here if I didn't figure this out by end of the week. Thank you for your help so far.

Who is online

Users browsing this forum: No registered users and 84 guests