NVIDIA HBAO+ Image Effect - Sample Project

I’ve just finished a blog article on my experience integrating the HBAO+ GameWorks library into Unity. It explains the “how” and has an example project for download. Hope some of you find this useful! :slight_smile:

9 Likes

Great work you did there :slight_smile: Tested it out and it works like a charm!

what unity version 4 or 5?

Could someone please compile a x64 version of the HBAO plugin? 32 bit works fine!!

The sample project uses Unity 4.x

ah i see, because i got error in 5

would be great to do it for U5 too =)
tested on 4. work nice and clear

I think there should be a x64 and x32 version port for Unity 5, that where we can see the real beauty…

@smb02dunnal : how to compile it for x64?

Did an x64 build and tested in U5, works fine.

Would you care sharing the build?

When downloading anything from GameWorks you must agree to a licensing agreement through a registered account. I assume NVidia don’t want people sharing files outside of that system.

Ok, I guess I will have to build it myself…

Excuse me but how did you build it to 64 platform? Did you use msvc2010 or 2012?
I have the source opened in msvc2010 and I can only see the Win32 option. When I try to change the platform to x64 manually I get this error message:

1>build/Release\HBAO_Plugin.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

@Ravel you are getting that linker error because you are trying to build against the 32 bit hbao library. You need to change to the 64 bit version.

very nice but does not working with AA!?

strange, i manage to build the x64 version and in unity 5 the HBAO doesn’t showing, only white scene

EDIT : nvm i’m just being stupid, it works now

Infact this was a real hussle, because my vs10 had a bug, I had to uninstall it, and install it with some steps and patches to support x64 compiler. Now I got things working again :slight_smile:
1963100--127076--a-team-t-shirt-hannibal-a-plan-comes-together.jpg

Will check out the HBAO stuff now

I’m not getting this to work anymore. It keeps throwing
DllNotFoundException: xxxxx HBAO_Plugin.dll
HBAOPlus.Start () (at Assets/HBAO/HBAOPlus.cs:71)

This is after making sure the ref ddl is in the project folder and both ddl’s are unlocked.

The test scene works though. weird.

Unity5 or 4?