Offscreen drawing

I want to create a hidden window and use it to draw a temporary image, for projected object shadows. I need a separate context, because I want the object shadows to be antialiased, regardless of what the main viewport antialias setting is. The model is drawn from the angle of the light, then I use glreadpixels to copy the resulting image into a texture, which then gets projected onto walls and floors.

Should this be done with an FBO? If so, how do I start? The examples I have read aren’t exactly straightforward.

Yes, use FBO. I think hidden window won’t work because pixel ownership issues (a window probably needs to be on screen and visible. Parts outside desktop or covered by other windows may have undefined data)

Look at the spec “Usage Examples”

you could find the fbo paper on

Is anyone available on Skype? I can be found under “Leadwerks”.