Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Global Illumination and animated Door?

Discussion in 'Global Illumination' started by Asta_D, Dec 8, 2015.

  1. Asta_D

    Asta_D

    Joined:
    Oct 16, 2013
    Posts:
    15
    Hello

    As written in den subject of this thread i am searching for a solutions that my GI ist working with the animated door in my scene. The GI works fine for every static object, but how can i get my door lighted correctly? I thought the GI is done in real time, so what i have to do to get it right here.

    Greetings from Germany
    Asta
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,021
    Make it light probe lit?
     
  3. Asta_D

    Asta_D

    Joined:
    Oct 16, 2013
    Posts:
    15
    I got it. If i give the object a static lightmap, it works fine for my purpose. you havr to set the Lightmaps on static in the object tab of the Lighting window.
     
    AcidArrow likes this.
  4. SteveB

    SteveB

    Joined:
    Jan 17, 2009
    Posts:
    1,451
    Unity intended to have a script for this exact behavior quite some time ago when 5.x was first announced (see Blog post)

    "After the precompute has finished the relationship between the systems is known and this can be used in the run-time to partially alleviate the limitation of static geometry. At run-time the amount of indirect light transferred between systems can be controlled. This allows you to fade in bounce between systems and this can be used to achieve effects such as destruction or opening doors."

    "Q: Can I do opening of doors and gates?
    A: As discussed above authoring systems and scripting the exchange of bounce between systems depending on the door or gate will solve this in some cases. (The scripting extensions needed for this are expected to arrive in 5.x.)"

    Mind you this was posted back in September of 2014, so yea I'm not certain why this has yet to be made available or even discussed any further.

    Cheers

    -Steven