Jump to content


Free Fusion Plugin: Ssao Filter 1.0

  • Please log in to reply
8 replies to this topic

#1 hulan


    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 82 posts

Posted 16 January 2009 - 07:16 AM

SSAO Filter 1.00 Attached File  ssao_filter_1.00.zip   19.34KB   156 downloads

SSAO is a technique that was developed for the PC game Crysis in 2007. Iíve read papers published from Sigraph and made a Fusion plug-in that utilizes the technique the developers of Crysis invented. The technique is about how to extract a fake ambient occlusion out of a Z-depth pass.
The tool takes a specified amount of samples around each pixel, usually a 10 by 10 matrix and compares the depth with the current pixel to calculate occluding pixels. Furthermore Iíve implemented a depth to normals algorithm which is then used to calculate the SSAO.
The user can specify in the plug-in whether the SSAO should be calculated based on supplied normals (in NX-, NY- and NZ buffer) or calculated normals. This plug-in is currently under development and is highly technical and requires a lot of tweaking to get desired results.

Input a depth pass to the SSAO filter (stored in the Z channel) and it will return normals and screen space ambient occlusion in the RGB(normals) and A(SSAO) channels, the SSAO can be rendered based on either calculated or supplied normals, were supplied will give you best results. This is still a work in progress so don't expect production quality results.. : )

The plugin is multi-threaded and compiled for 32bit/x86.
Make sure you run atleast Fusion 5.3.55 with this one. : )

Posted Image

matrix: This sets the grid that is being sampled around each pixel.
amount: The amount of occlusion to add.
small depth: If the depth is less than this no occlusion is added.
depth threshold: The distance in depth that the filer looks in.
normals angle control: Controls what angle diffrence that should be allowed, in order to avoid occlusion on flat surfaces.
normals z control: Boosts the Z calculation for normals

Good luck!
Christoffer HulusjŲ
christoffer (at) hulusjo.se

Give it a try and let me know if you have any suggestions or feedback.

Attached Files

  • rorrywakswave likes this

#2 theotheo


    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 281 posts

Posted 16 January 2009 - 09:14 AM

Chris, thanks for making them public. Great stuff! You're on a roll now meh!


#3 robertjackson1


    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 128 posts

Posted 16 January 2009 - 10:24 AM

This looks really cool, thank you. Will give it a try!!

#4 blackwom



  • Adv Members
  • 4 posts

Posted 16 January 2009 - 10:32 AM

Yeah this could be really useful, as ambient occlusion passes can sometimes take ages to render. Would be great if you could somehow adjust the spread distance.


#5 RockKenny


    Power Pig

  • Adv Members
  • PipPipPipPip
  • 48 posts

Posted 19 September 2010 - 10:45 PM

thx great tool!

#6 DjFAT



  • Adv Members
  • 2 posts

Posted 13 September 2012 - 02:47 AM

Could someone lay out a compatible version of SSAO for fusion 6.4 x64 ?

#7 French_Fry


    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 174 posts

Posted 13 September 2012 - 02:19 PM

I second that.

#8 Kenzor


    Member Pig

  • Adv Members
  • PipPip
  • 23 posts

Posted 15 September 2012 - 10:18 AM

3rd that

#9 DjFAT



  • Adv Members
  • 2 posts

Posted 16 September 2012 - 10:50 AM

"No more orni ... ?" © Dune.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users