realism-effects
realism-effects copied to clipboard
fix: ao distance value usage
fixes #30
There were issues with the aoDistance
in both the ssao
and the hbao
implementation.
I also move the distance value to the denoiser, as it is needed in the shader there as well.
Then the example from the mentioned issue works as expected.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
realism-effects | ✅ Ready (Inspect) | Visit Preview | Sep 26, 2023 7:31am |
Thanks for the PR! I'll have a deeper look into it soon. The HBAO code has barely changed so it should be no issue to integrate that.