Day/Night Material changes.

Discussion in 'Ideas and Suggestions' started by Occam's Razer, Mar 7, 2014.

  1. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,267
    I have a WIP urban map that I would, at some point, like to give a day/night cycle. I know that such a feature exists, but as my city is supposed to be populated, I'd like to have a system that changes some of the materials (skysphere, streetlights, lights in windows) based on the TOD value. I've glanced at lua tutorials, and there seems to be some useful information, but I don't know how/if the lua scripts work with the material files, the current scene (and therefore level info), or any update of the program. I doubt if this is currently possible, and it's not at all urgent, but I figured that perhaps a more code-adept community member may be able to give me a few pointers.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice