Hi, I’m new to opengl and need enlightening for my project.
I want to render a scene and use it as a texture map for another object. But I tried, but my code doesn’t seem to be copying that scene to the texture and I don’t know why is this so.
After context initialization, call glGetString with GL_EXTENSIONS to get a list of supported extensions on your particular hardware. The FBO extension is by far the preferred route–it’s supported on most all modern hardware and it’s judged by many to be much more pleasant to work with
There are good demos of both reachable through the link above, and there are countless others online.