Lightmap Animation?

  • #1, by SDMonoThursday, 10. April 2014, 06:06 10 years ago
    Hi Everyone

    Short question: Is it possible to animate the Lightmap used in a scene?

    Thanks!!!

    p.s.: version 3.7

    Forum Fan

    148 Posts


  • #2, by afrlmeThursday, 10. April 2014, 13:21 10 years ago
    Not currently no, but you could run a loop via an at begin of scene action, which uses the jump to x action part to create the loop & then before it you would add various change lightmap action parts & pause action parts to control when it should change the lightmap.

    at beginning of scene action parts below.
    pause for x seconds/milliseconds
    Set lightmap of scene 'current scene' to 'new lightmap file'
    ...
    jump to action part 1
    

    You would of course need to quit this action inside of an at end of scene action to kill the loop when it is no longer required.

    P.S: this was just a quick mockup of action parts. You could control it better by combining a value & if queries to determine which lightmap would be shown next, which means it would always change to the correct one no matter which lightmap is currently active when you change to the scene.

    Imperator

    7278 Posts

  • #3, by SDMonoThursday, 10. April 2014, 21:10 10 years ago
    Thanks. wink

    I will see if I can get it to work.

    Forum Fan

    148 Posts

  • #4, by SDMonoTuesday, 22. April 2014, 04:02 10 years ago
    In the end I just used a .png as some kind of overlay and having it fade it in an out. Looks great.

    Forum Fan

    148 Posts

  • #5, by afrlmeTuesday, 22. April 2014, 04:13 10 years ago
    Well I guess that would work too. wink

    Imperator

    7278 Posts