Skip to content

SSAO color (or GTAO?) #211

Closed
Closed

Description

@drcmda

this is what it should look like

Screenshot 2020-06-21 at 09 24 48 copy

with postprocessing: https://codesandbox.io/s/ball-pit-1-o5ir0

Screenshot 2020-06-21 at 09 28 13

i know this isn't ground thuth AO but could we still set the AO color somehow? in this case i would like to make it red for instance.

Activity

  1. vanruesc commented on Jun 21, 2020

    @vanruesc
    Member

    could we still set the AO color somehow?

    Yes, that should be possible. I'll look into it when I get a chance.

  2. added a commit that references this issue on Jul 6, 2020
  3. vanruesc commented on Jul 6, 2020

    @vanruesc
    Member

    Added support for colorized ambient occlusion in [email protected].

  4. drcmda commented on Jul 6, 2020

    @drcmda
    MemberAuthor

    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

  5. drcmda commented on Jul 7, 2020

    @drcmda
    MemberAuthor

    @vanruesc from this question by @edankwan : https://twitter.com/edankwan/status/1280407226411290625 would that be possible, too? to deal out individual colors for objects?

  6. vanruesc commented on Jul 7, 2020

    @vanruesc
    Member

    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.

  7. vanruesc commented on Jul 7, 2020

    @vanruesc
    Member

    Opened a new issue for the light bounce feature: #214.

  8. gkjohnson commented on Jul 7, 2020

    @gkjohnson

    @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.

  9. vanruesc commented on Jul 7, 2020

    @vanruesc
    Member

    @gkjohnson Thanks for the heads-up 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions