Sign in to follow this  
  • entries
    162
  • comments
    262
  • views
    167040

More filtering

Sign in to follow this  
OrangyTang

93 views

I've copied across my old bluring code into the new way of doing things, and separated it out into two separate filters (one which uses multitexturing, and one which just brute forces it with single texturing and lots of blending). The end result is the same, but the code is much nicer than the original method.

Also it highlights nicely how important it is to get good weights and offsets to do the blur, here on thel left is a bad set of guesstimate weights, on the right are the ones after I'd got the code working and went back and fixed them. As you can see the quality is much better (and for the same number of samples).



Next I've got to either add the FBO backend or rework my existing games to use the new way of doing things (and in doing so eliminate a whole bunch of duplicate code). I'll probably add FBO first, as it's nice and self contained and I've been putting it off for too long.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now