Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actuallipsryme

Posted 03 September 2012 - 01:08 PM

I haven't really found anything basic on how to do this.
I want to speed up my ssao calculation by using a half res depth target.
Now as I understand I have to downsample this target, but I don't really know how to do this.
I've seen some code snippets about averaging pixel but I don't fully understand this.

Can someone explain to me how this works or guide me to some tutorial or easy to understand code ?

I realize it's not as easy as just outputting the sampled value of the original to a rendertarget with half the size or is it ?

#2lipsryme

Posted 03 September 2012 - 01:07 PM

I haven't really found anything basic on how to do this.
I want to speed up my ssao calculation by using a half res depth target.
Now as I understand I have to downsample this target, but I don't really know how to do this.
I've seen some code snippets about averaging pixel but I don't fully understand this.

Can someone explain to me how this works or guide me to some tutorial or easy to understand code ?

I realize it's not as easy as just outputting the sampled value of the original to a rendertarget with half the size is it ?

#1lipsryme

Posted 03 September 2012 - 01:04 PM

I haven't really found anything basic on how to do this.
I want to speed up my ssao calculation by using a half res depth target.
Now as I understand I have to downsample this target, but I don't really know how to do this.
I've seen some code snippets about averaging pixel but I don't fully understand this.

Can someone explain to me how this works or guide me to some tutorial or easy to understand code ?

PARTNERS