I knew it is possible to render offline without displaying it on screen.
How to do it, maybe
create an invisible window then draw.
Can I use specific fbo when render?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create a framebuffer object using something like:
You then use it like:
You can create multiple framebuffers as you like and bind to them when you please. (Give or take). You’ll need a valid OpenGL context to use this, which usually approximates to creating a window on most platforms, but you don’t ever have to draw anything into that window.