Jump to content
Posted 29 July 2012 - 02:03 PM
Posted 29 July 2012 - 02:26 PM
A common way to solve this problem is to convert the values in your normal vector from a range of [-1, 1] to a range of [0, 1] and back again when you do your ssao pass
You can do said conversion like this: n = (n + 1) / 2
The conversion back to your original range would then become: n = n * 2 - 1
I gets all your texture budgets!
Posted 29 July 2012 - 02:28 PM