0beqz / realism-effects

SSGI, Motion Blur, TRAA - Effects to enhance your three.js scene's realism
https://realism-effects-obeqz.vercel.app/
MIT License
1.41k stars 63 forks source link

fix: ao distance value usage #35

Open MajorMeerkatThe3rd opened 11 months ago

MajorMeerkatThe3rd commented 11 months ago

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.

vercel[bot] commented 11 months ago

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
0beqz commented 5 months ago

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.