You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if that can be done with the current scalable ambient obscurance algorithm. I'll try adding light bounce based on @gkjohnson's GTAO implementation when I find some time.
@vanruesc@drcmda just note that without actual surface information (diffuse color, roughness, metalness) of the objects before shadows are applied bounce light won't really be able to "reveal" any real information in shadowed areas. When I was working on it I found that it wound up muddying an image in more complex cases because of this but in simple cases it didn't look too bad. Perhaps one day we'll have deferred rendering and we'll have more information for these effects. I think it would be a good option, though!
Activity
vanruesc commentedon Jun 21, 2020
Yes, that should be possible. I'll look into it when I get a chance.
Add support for colorized AO
vanruesc commentedon Jul 6, 2020
Added support for colorized ambient occlusion in
[email protected].vanruesc commentedon Jul 6, 2020
Sandbox for reference: https://codesandbox.io/s/ball-pit-1-vlhu6
drcmda commentedon Jul 6, 2020
thanks, it looks awesome! the sandbox you posted had a halo for some reason, but i updated mine and it's exactly the effect i looked for https://codesandbox.io/s/ball-pit-1-mvkqs?file=/src/App.js
drcmda commentedon Jul 7, 2020
@vanruesc from this question by @edankwan : https://twitter.com/edankwan/status/1280407226411290625 would that be possible, too? to deal out individual colors for objects?
vanruesc commentedon Jul 7, 2020
I don't know if that can be done with the current scalable ambient obscurance algorithm. I'll try adding light bounce based on @gkjohnson's GTAO implementation when I find some time.
vanruesc commentedon Jul 7, 2020
Opened a new issue for the light bounce feature: #214.
gkjohnson commentedon Jul 7, 2020
@vanruesc @drcmda just note that without actual surface information (diffuse color, roughness, metalness) of the objects before shadows are applied bounce light won't really be able to "reveal" any real information in shadowed areas. When I was working on it I found that it wound up muddying an image in more complex cases because of this but in simple cases it didn't look too bad. Perhaps one day we'll have deferred rendering and we'll have more information for these effects. I think it would be a good option, though!
The new AO color looks great, too.
vanruesc commentedon Jul 7, 2020
@gkjohnson Thanks for the heads-up 👍