Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Journeyman III

RADEON + FBO = no mipmaps!


I've try to implement RTT in my program with FBO ( instead of glCopyTexSubImage2D as i've do earlier).
And i was "surprised" that function glGenerateMipmapEXT don't generate any mipmaps.
I've test FBO on x1600, HD 2900, HD 2600, HD 3850 but result was the same.
It's interesting to me - why on nVidia GeForce 8800 GTS that works greatly, and on Radeons not?

I need help, please.

PS. Tested on Catalyst 7.12, 8.1, 8.2, 8.3.
PSS. FBO attached texture size is 1024x1024.
PSSS. In your SDK ( March 2006 ) in sample Framebuffer_object and change FBO attached colour texture iltering from LINEAR to BILINEAR..... and sample show me an exception!
2 Replies
Journeyman III


Could anybody help me?

If you haven't already found a solution to this issue, hopefully these points of consideration will help identify the solution.

1) Use textures and not renderbuffers

2) glGenerateMipmapEXT will generate the mipmaps for the specificed texture target (GL_TEXTURE_2D) of the active texture - so make sure you have the desired texture unit active.

2) The max level for the texture should be set at the highest mipmap level that you'd like to generate and that the base level is 0.

3) You may also need to make glTexImage2D(..) calls with the same components and formats for each of the levels that you'd like to have generated.

Use the TexLevelParameter functions to get information on the levels and look for any errors that could be getting returned which may guide you.