Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Assets [WIP]AIO Dynamic Sky - Procedural Day-Night Cycle with Sun & Moon, Clouds & Starfield

Discussion in 'Works In Progress' started by victorkin11, Aug 26, 2017.

?

Anyone using unity3d 5.5 or older?

Poll closed Jan 31, 2018.
  1. Yes, I am using 5.5 or older version

    0 vote(s)
    0.0%
  2. No, I am using 5.6 or newer version

    1 vote(s)
    100.0%
  1. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    It should be most easy to setup Dynamic Sky with Day Night Cycle, just like default SkyBox, just put the preset material in light setting, Done.

    AIO Dynamic Sky isn't base on realistic calculation, It isn't volumetric clouds(too heavy) , including sun, moon, star field & clouds, sun light & moon light can affect the clouds,base on sm2.0, without extra mesh, should be light weight for most project.

    Any comments are welcome.

     

    Attached Files:

    Last edited: Oct 25, 2018
    Farelle likes this.
  2. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Mobile Performance test on OnePlus 1, not perfect, but good enough for most project.


     
  3. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Rev the Old test WIP2
    I decided to release this version soon.

    AIO WIP5s.jpg
     
  4. ZhavShaw

    ZhavShaw

    Joined:
    Aug 12, 2013
    Posts:
    134
    When should we expect a release? And what price are you aiming for?
     
  5. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Thanks for your feedback.

    I am working on the document, hopefully it can release in next month.(September)
    The price not designed yet, I will lower the price when first release, maybe about US$15-20,
    if it can sell enough quantity, I will implement more features, then I will rise the price.
     
  6. ZhavShaw

    ZhavShaw

    Joined:
    Aug 12, 2013
    Posts:
    134
    Ok, that sounds good! It looks great, and very light weight, which is what I'm looking for.
     
  7. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    I just submit the package to asset store, since this is my first submit, I don't know that after submission, I can't edit anything include the screen shot & text info. too bad I haven't use the preview first! :(

    small_Main2 (0-00-00-00).jpg

    small_Screen-2017-09-18_19-52-56.jpg

    This is the sample come with the package running on my gtx1070 notebook, so the frame rate is pretty good, and this version haven't optimized for mobile.

    small_Unity 3D 09.18.2017 - 21.28.14.03 (0-02-51-03).jpg

    Anyway, here is the Control script screen shot, there have a gizmos for you easy to see the sun path, also I find out the ambient lighting not work for most skybox shader, so there have I ambient lighting override function. it spend more time than I though to finish the script. Hope it will get approval soon.
     
  8. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Submitted the package more than 10 Days, still waiting for approval.

    Just post some pic playing with AIO sky


    small_Desktop 09.30.2017 - 20.42.35.05 (0-00-58-33).jpg
    small_Desktop 09.30.2017 - 20.42.35.05 (0-01-13-05).jpg

    small_Desktop 09.30.2017 - 20.42.35.05 (0-01-44-43).jpg
    small_Unity 3D 08.29.2017 - 16.32.11.20 (0;09;26;00).jpg

    small_Unity 3D 08.29.2017 - 16.32.11.20 (0;09;15;07).jpg
     
  9. ZhavShaw

    ZhavShaw

    Joined:
    Aug 12, 2013
    Posts:
    134
    Unity being slow as always
     
  10. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Too bad I can't release it on time!
     
    Last edited: Oct 9, 2017
  11. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Still Waiting!
    Working on some presets for next update.

    small_vlcsnap-2017-10-09-14h33m25s713.jpg
     
    Last edited: Oct 9, 2017
    osss likes this.
  12. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97


    Soon I will be resubmit the package.
     
  13. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
  14. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
  15. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    AIO Dynamic Sky v1.2 WIP
    New Sun Shafts helper & fog color control , and next version the price will rise to $20, get it before too late.

    Even you already have other package for the skybox, since the price it so low, one more package for option is a good ideal. This is the most easy setup, Affordable & practical solution. Buy it Now only $19.98

     
    Last edited: Dec 19, 2017
  16. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    When I decide to make a sky shader, looking for reference, there is more than hundred paper in the net.

    Which way should I go for? there are some high end sky system in unity, but that isn't easy to use, and thousand of parametric you need to deal with, and a lot of game object in the scene only for the sky, but there haven't one is simple and practical solution. so here we are, the difficult of sky shader is it not only you need programming work, you also need a lot of art work.

    more than 30+ clouds map I tested, create from satellite photo, still not good enough, final one I use some fluid sim program to create the element, and a lot of photoshop work, and what we have actually still have a lot thing can improve.

    small_photo29.jpg

    one of fluids map I use.
     
  17. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    AIO Dynamic Sky v1.2 is finished, I am testing it right now.
    Working in editor between run time is very different, I find out the document don't have enough information, Trial & error is the only way, maybe I miss some detail?

    Screen-2017-11-22_19-02-28.jpg
    New item in Inspector
     
  18. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    2,603
    Can you add some way to make a clouds presets?

    and different clouds in the day and the night?

    Is it possible to create this kind of look?

    Screen Shot 2017-11-22 at 13.13.53.png Screen Shot 2017-11-22 at 13.14.30.png
     
    victorkin11 likes this.
  19. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    You mean the color or the clouds shape? There is two clouds shape included, Will add more later, color is easy to adjust in materials. customer tools not planning yet, since the shader may change in future.
     
  20. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    I try to match you pic, at this moment what I can do like this.

    Screen-2017-11-22_21-23-35b.jpg
    Screen-2017-11-22_21-25-59.jpg
     
  21. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    2,603
    Thanks its nice, the intensity of the moon and the sun is that adjustable?

    and for the clouds I mean the shape of the clouds, different kind of clouds for day and night, therefore different presets. and for example more clouds in the evening and less during the day
     
  22. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97


    Video give you more idea.
     
  23. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    2,603
    IMG_9749.JPG cool! i see the sun becomes more intense when rising, but I feel that close to the horizon it could also be more intense, just the like this image
     
  24. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    sun can adjust, moon don't glow, only can adjust light affect the clouds. you need image effect to do that.
     
  25. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    I will take yours opinion. Thank you.
     
  26. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    aio1.2.jpg

    Because I am on the trip, sorry for delay.
    version 1.2 submitted, the new price is $19.98, it should be in the store for next two week.
     
    Last edited: Dec 2, 2017
  27. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    The new version is in assets store now, faster that I though. I forget to mention the new version change the cycle setting, is may affect the old version a little bit, when you upgrade the old project, remember check the cycle setting.
    And the sunshafts only preview in game window.
     
  28. ZhavShaw

    ZhavShaw

    Joined:
    Aug 12, 2013
    Posts:
    134
    Going to finally pick it up in the upcoming weeks.. Wanted to know if I could disable the clouds
     
    victorkin11 likes this.
  29. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    yes! of course you can. use cloud density zero.
     
    Last edited: Dec 30, 2017
    ZhavShaw likes this.
  30. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97

    Ver1.3 uploaded, This version is much better than v1.2.
     
  31. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    The AIO v1.3 have change a lot, the old sky shader only have 2 layer, the v2 shader have 4 layer, although there is 4 layer, but it all Combine to One Layer clouds, like fbm noise, it make the clouds shape look better, since 4 layer in different depth, so it look more like volumetric clouds.

    The clouds layer have a normal maps, but the sun is directional light, is only have one direction, so I project the sun to the sky dome, make it like a point light, so it can lighting the clouds in different direction.

    SkyDome.jpg
     

    Attached Files:

    • Sun.gif
      Sun.gif
      File size:
      127.4 KB
      Views:
      558
    Last edited: Oct 25, 2018
  32. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Sun2.gif

    Try to make it loops :p
     
  33. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Now I want to make the procedural star field, because no matter how large you texture in the skybox, it still look blur.

    small_star01.jpg

    small_star02.jpg

    the most easy way is random tile map.

    small_star03.jpg

    small star04.jpg

    it should be in the next version AIO Sky!
     
    Last edited: Oct 25, 2018
    wetcircuit, eaque and Lars-Steenhoff like this.
  34. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    2,603
    looks very nice!
     
    victorkin11 likes this.
  35. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    hi,

    I'm discovering your asset at the moment and i am quite impressed! Congrats!;)
    Talking about performance, what can u say about AIO vs traditionnal sky system?
    I'm hunting fps (like any of us) and i really appreciate the different style you show on your video: realistic, toon, low poly...

    I already own some sky systems, but i'm always looking at interesting solutions. I want something to look like zelda breath of the wild...Toon but real classy:p (not low poly) here is my project:
    https://forum.unity.com/threads/takeshi-the-game-the-adventures-of-takeshi-one-man-game.505741/

    The question is: can i get some volumetric clouds with low fps count?
    :)
     
  36. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    About fps, it should better that most sky system but not good enough in mobile, on GT650m notebook, 1080p more than 200 fps, in my phone only get 20fps, but I was planed to move some gpu work to cpu, let say as this moment, every pixal need to calculate the day night cycle, it is for user easy to use it, but not good for the gpu, if I make 2 version shader, runtime and editor mode, then I can get both thing, fast and easy to use.
     
    Last edited: Oct 25, 2018
    eaque likes this.
  37. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    And AIO isn't use volumetric clouds, I alway want to try volumetric clouds, maybe furture.
     
    eaque likes this.
  38. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    About zelda breath of the wild, I don't think it is volumetric clouds, it is more like my solution, but it mainly base on hand paint clouds, so unless you will paint your clouds, as this moment, AIO Sky can't do the same thing, but I will try to remake the same sky, since I away need to remake my clouds maps, to make a good clouds map isn't easy, I already try a lot.
     
    eaque likes this.
  39. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    thanks you for all your explanations!!:) . No matter volumetric or not, the result is quite impressive!
     
  40. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Thank! and the moon glow now! can lighting the clouds.
     
  41. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    AIO Sky 1.4 will be release soon, here is the PC day/night cycle demo.

    DEMO


    Cyber week mega sale 50% off!
     
  42. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    Hi, sorry for the noob question but i think with aio sky i would loose volumetric lighting...IS there a possibility to implement this?
     
  43. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    I am not sure what you mean, but you can use sun shafts in AIO sky, also some free assets for volumetrix lighting & here , it should work will AIO sky.
     
    Last edited: Dec 8, 2018
  44. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    sorry
    thanks sorry i missed your answer.
    I would be interested cause you are talking about one drawcall "or setpasscall" i guess?
    Is there any possibility to check the performance of this asset?Cause the main reason i would change my sky system is performance gain...
    And there is one thing we would need is a calendar manager like Azur sky (but too complicated) or an event manager like Enviro to check hours passed and day passed...

    Could you implement that?:) Only to check hours passed would be great and enough...
    Thx in advance

    EDIT: oops i didn't see the demo link above!! many thanks;):)
     
    Last edited: Dec 17, 2018
  45. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    There are demo you can try.
    https://mega.nz/#F!ydZCCA4D!fLDs1FfD1tmW9LRvX8OJlQ

    We won't seen the calendar manager too soon, since AIO isn't too popular, I only can use my free time to keen development, so I can't promise when will we get it.
     
    Last edited: Dec 17, 2018
  46. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    sorry but what do you mean by since it's aio? sorry but what does AIO mean?:oops:

    So it's hard to check when an hour has passed?
     
  47. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Sorry that I was accident post the unfinished answer.

    We won't seen the calendar manager too soon, since "AIO sky" isn't too popular, I only can use my free time to keen development, so I can't promise when will we get it.
     
  48. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    :)
    No need for the calendar manager don't waiste your time!!!
    We need Only one function called every hour passed would be enough! So it's more simple and easier to do.
    What about that?
     
  49. victorkin11

    victorkin11

    Joined:
    Apr 20, 2013
    Posts:
    97
    Not in next version. I almost finish next verion. Maybe in 1.5.
     
  50. eaque

    eaque

    Joined:
    Aug 20, 2014
    Posts:
    659
    ok thanks for your prompt anwer!:)
     
unityunity