building-blocks
building-blocks copied to clipboard
Add merger that supports ambient occlusion evaluation
This is still not correct as can be seen in the image below, but I think it is close. It can surely be more optimised as it is likely calculating the AO value multiple times per vertex position. I was thinking that perhaps a hash table of Stride, i32 in the merger could be used to avoid recalculation.
![Screenshot 2021-05-02 at 16 08 59 - highlighted](https://user-images.githubusercontent.com/302146/116816351-dc3b8e00-ab61-11eb-802f-4fc4900b2c99.png)
Hmm, I can also see the chunk borders. Kind of cool with LODs but... :)
And this is broken too: