Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


EndlessDiemention

Member Since 15 Jun 2009
Offline Last Active Nov 29 2012 04:59 AM

Posts I've Made

In Topic: Theory of FBOs

17 November 2012 - 09:39 PM

OK Well thanks for all the help guys. I think that I've fixed it now. The post processing now looks something like this:

<Use Detail post>
Draw objects
<Use Blur post>
Draw detail post using a small box blur to sample multiple areas.
<Viewport>
Draw blur post + detail post composited

The upside is not only are my ugly lines gone, but its now even more blurry!

In Topic: Theory of FBOs

15 November 2012 - 06:08 PM

OK, so I tried "GL.GenerateMipmaps()" for the FBO texture, and although it fixes my problems with the ugly patterns, running it every time the FBO is updated makes it a slideshow. Badly.

If I run it once, the mipmaps are generated only for that Level0 texture. So then when the camera moves, the old image is displayed until I run GL.GenerateMipmaps() again. I have a feeling that GenerateMipmaps is something to be done when loading textures, not every damn frame. Any ideas?

In Topic: Theory of FBOs

15 November 2012 - 05:18 PM

So Kaptein, I can add mipmaps to a FBO texture, and then every time level 0 is updated, the texture's highest mipmap is updated (and it's 1px x 1px), so I can just sample that for the average brightness.

So since the FBO uses mipmaps, can I somehow force it to use maybe it's second mipmap for redrawing to another FBO to downscale it?

Koehler, so basically you suggest just drawing the scene twice to a smaller and then a larger FBO. I'll give it a shot, thanks.

In Topic: Game Engine trouble

16 June 2009 - 02:44 PM

Wow. Thanks loads. I got it working. Thanks again.

In Topic: Game Engine trouble

15 June 2009 - 02:46 PM

Thanks, that helps a bit, but I need to know how to get the DLL to actually open a window aswell. Also, some of that seems to be in C#, and may use some fancy feature of that I dont know about. Help would be much appreciated.

PARTNERS