
FBO
Posted Wednesday, 17 June, 2009 - 12:30 by ashwin_9891 inHiiiii ppl.. I am a noob to OpenGL as such.. I am on a project that uses FBOs to draw something on them and display them finally on to the screen..
so i have two problems..
1) Drawing a Triangle in the FBO say along with vertex shaders also.
2) Displaying the whole FBO into the screen.
Can anyone please help me with code snippets that will enable me in performing this ?? thanks in advance..


Comments
Re: FBO
This OpenTK example shows how to render to a FBO and display the FBO to screen. It's not using shaders, but adding shaders is easy, once you get FBOs working.
You should also check out Examples.exe that comes with OpenTK. Starting with OpenTK 0.9.8, every example comes with source code that you can use as a reference or even copy & paste into your project.