aardvark-platform / aardvark.docs

Simple examples combining multiple packages provided by the aardvark platform. Each platform repository comes with separate examples -- here we collect overarching examples using for example aardvark.rendering and aardvark.media.
https://aardvarkians.com/
MIT License
109 stars 5 forks source link

Improve SSAO Performance: SampleDirections as uniform #30

Closed StefanLeng closed 4 years ago

StefanLeng commented 4 years ago

The SSAO Demo runs much faster if the sample direction array is provided as an uniform: um my setup around 55 fps versus 8-9 fps for the default scene.

It also gives a bit smother look.

StefanLeng commented 4 years ago

No Idea why the appveyor build failed ....

krauthaufen commented 4 years ago

Hey, that's an interesting observation. Thanks for the PR, I will merge it tomorrow...