Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Ambient occlusion + matte shadows

Discussion in 'Virtual Production' started by GeniusKoala, Oct 20, 2021.

  1. GeniusKoala

    GeniusKoala

    Joined:
    Oct 13, 2017
    Posts:
    97
    Hi,

    We are making a TV shows in Unity with 3D characters inserted on a live background. We are using the streaming image sequence to display the background on a Plane behind the characters. We added a 3D proxy under them to cast their shadows on it with a matte shadows shader (a simple Unlit with the matte shadow option enabled). It works great we are all glad of the results!

    To go further and achieve a better insert we would like to have ambient occlusion too under the feet of our characters to make them really stick on the barrel where they stand on.

    If I understood correctly the ambient occlusion is only computed for Lit shaders. I was wondering if it was possible to have both matte shadows and ambient occlusion since matte shadows are for Unlit shaders? What would be the ways to add the ambient occlusion between the 3D characters and our proxy?
     
    ZEILT and newguy123 like this.
  2. GeniusKoala

    GeniusKoala

    Joined:
    Oct 13, 2017
    Posts:
    97
    @Matjio @SebLagarde It would be really helpful if some technical people would have an idea of how to achieve this. I can send you more information in private since I can't share any visual in public so far.
     
    Last edited: Oct 28, 2021