Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

[RELEASED] Enviro - Sky and Weather (Dynamic Sky and Weather System)

Discussion in 'Assets and Asset Store' started by Vondox, Apr 11, 2015.

  1. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, setup some static colliders on your interior roofes to stop particles. You may also want to tweak the collision settings in Enviro weather particle system prefabs and create and assign a new layer only for particle collisions.

    Another way would be using the "Enviro Interior Zone" to switch off weather effects when entering some trigger/zone. More performant but you won't be able to see weather outside with this method. Use that for example for caves or anything like that.
     
    TheOtherSideDesigns likes this.
  2. muzboz

    muzboz

    Joined:
    Aug 8, 2012
    Posts:
    86

    Thank you!
     
  3. kgeorgia512

    kgeorgia512

    Joined:
    Nov 1, 2019
    Posts:
    3
    Hello,

    Does anyone know how to make the built in stars/galaxies only appear at night? Currently no matter what settings I seem to tweak, they are still visible in daytime also.

    Thanks in advance

    Best regards all,
     
  4. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, you can tweak the intensity of stars/galaxy in your Enviro Sky Instance -> Edit Profile -> Sky section. Just tweak teh right side of the Stars/Galaxy Intensity curves.
     
  5. cdibbs

    cdibbs

    Joined:
    May 3, 2019
    Posts:
    13
    Any chance that VR support means mobile VR also, like the Quest or Quest 2? I gave it a quick initial test but I wasn't seeing usable framerates and the clouds were too far apart (between left and right eye). Any advice would be much appreciated.

    Current settings:
    • Cloud quality: 8 VR_Low
    • Rendering Setup -> VR -> Uncheck single pass
    Thanks! The asset works great and looks beautiful on PC, btw.
     
  6. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, please use the "Enviro Lite Mobile" instance for these platforms.
     
  7. cdibbs

    cdibbs

    Joined:
    May 3, 2019
    Posts:
    13
    lol. Completely overlooked it for lack of "VR" in the name. That works perfectly. Thanks!
     
    Vondox likes this.
  8. Purumo

    Purumo

    Joined:
    Aug 9, 2019
    Posts:
    12
    @Vondox, Hey!
    I get this strange bug at Clear Sky preset in my scene.
    She begins to appear a few seconds after the start of the scene. How do I fix this?
     

    Attached Files:

  9. Purumo

    Purumo

    Joined:
    Aug 9, 2019
    Posts:
    12
    And one more thing.
    My ground and grass objects change color depending on the time of day. Where can I control this? I do not like the result at night until noon and during the day.
     

    Attached Files:

  10. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, haven't seen that issue yet. Can you please send me some information about your Unity Version, Render-Pipeline and Graphics API you use?

    Please check those material settings and try to tweak. Contact me in private msg with the model and material/shader so I can check if you can't find a solution.
     
  11. Purumo

    Purumo

    Joined:
    Aug 9, 2019
    Posts:
    12
    Unity 2019.4.14f1 + URP 7.3.1 + DX11 (but the project also aims at Linux).

    Ok, now I'll try to do something :)

    Upd: Yep, second problem was due to material settings (Base Map color), thanks!
    First problem still happens.
     
    Last edited: Feb 9, 2021
  12. Purumo

    Purumo

    Joined:
    Aug 9, 2019
    Posts:
    12
    @Vondox, Hello again!
    There are 2 more questions that worry me.

    1) I need to be able to fly through the clouds. But my clouds are hidden behind the mesh of the ground when I look at them from above (see attachment). How do I fix this?

    2) I also need to be able to adjust the quality in my project. Is there any tutorial or document where I can understand how to change ratios or something else to control performance? Or is the built-in ability to change the quality of the clouds usually enough?

    Sorry if questions have already been asked!
     

    Attached Files:

  13. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, I will send you package with latest Enviro URP support scripts, maybe those will help with first issue.

    You need to enable the "Depth Blending" feature in your Enviro instance -> Edit Profile -> Clouds section for blending clouds with your scene objects. Volume Clouds are the most demanding feature in Enviro so setting that quality will have biggest impact.
     
  14. Purumo

    Purumo

    Joined:
    Aug 9, 2019
    Posts:
    12
    Got it! Thanks!

    Turned it on... but this is not quite what I expected :D

    I will try to do a clean install of Enviro to my project, maybe it helps with something
     

    Attached Files:

  15. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Yeah, that does not look like it should look like.:D

    Please contact me in private msg or even better join discord:
    https://discord.gg/5c6kfW6
     
  16. gtox

    gtox

    Joined:
    Apr 23, 2013
    Posts:
    20
    Is there a way to slow down the speed at which clouds develop? I'm not talking about the speed of the transition between weather presets, but the way the clouds move and develop. If you look at the Asian Dragon Flight test video by Rowland (posted on Jan 8), you can see that the clouds look like they are in fast-forward mode.
     
  17. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, you can set that in your EnviroSky Instance -> Edit Profile -> Clouds category. Scroll a bit down and look for the "Wind Settings" section there. Multiple settings to tweak the wind animation.
     
  18. loconeko73

    loconeko73

    Joined:
    Aug 13, 2020
    Posts:
    3
    This is not a question, just a comment to say how happy I am with this asset. I really couldn't be bothered dealing with the weather for my project, so EnviroSky is a really good fit. For example I have some fairly unusual requirements when it comes to handling game time, so I have to deal with it myself, but a quick read of the code allowed me to set EnviroSky.instance.GameTime directly and still get 100% of the asset's functionality.
    One question I have, though: how would I go about replacing the stars with an actual NASA night sky texture ? Would it be possible for it to be accurate based on a real world position and date/time ?
     
  19. gtox

    gtox

    Joined:
    Apr 23, 2013
    Posts:
    20
    Thanks, that works.
     
    Vondox likes this.
  20. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, sure you could use some NASA textures instead of the included ones. For example the celestial coordinate one from this page: https://svs.gsfc.nasa.gov/4851 should work. Not sure about the licensing.
     
  21. Mouledoux

    Mouledoux

    Joined:
    Oct 10, 2016
    Posts:
    7
    Hi, I just got this and basically dropped the demo profile and settings into my main scene. I set the player and the camera and it all looks great... In the editor... once I build and run, the scene gets brighter and brighter until it's just all white. Only takes about 2sec to happen once it loads.

    What's causing the infinite sun? There are only point lights in the scene apart from the sun, no other direction lights.
     
    dsilverthorn likes this.
  22. RPowers

    RPowers

    Joined:
    May 14, 2015
    Posts:
    120
    Will there be a fix for this? I'm running into the same thing using URP and MSAA.
     
  23. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, did you added the EnviroVolumeLight shader to your list of always included shaders already? (Please check the docs) Otherwise does it fix your issue when you build with volume light disabled, then I may need to have a detailed look ehy it fails on your side in builds.
     
    Mouledoux and ITNabors like this.
  24. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, sorry don't have a great fix for that right now besides deactivating the sky fogging. I have an idea that maybe worth to try and implement, but haven't found the time yet to actually try.
     
  25. Mouledoux

    Mouledoux

    Joined:
    Oct 10, 2016
    Posts:
    7

    Yes, I added the shader per the docs. Disabling volumetric light DID FIX IT though, so thank you. I don't need volumetric light anyway, so everything is good to go now.

    Thank you for the support, great asset.
     
  26. muzboz

    muzboz

    Joined:
    Aug 8, 2012
    Posts:
    86
    I haven't had any luck trying these techniques.

    I'm not sure how to use the Enviro Interior Zone component.
    I've played around with it, but I don't understand how it works.

    Q: Is there a place where the techniques for using an Interior Zone are listed somewhere?

    I'm trying to make it so that I can walk out of the exterior environment (which is extremely foggy), and walk through an open doorway, and into a castle interior, and I want there to not be fog inside the building.

    Ideally it would smoothly blend out over a meter or two as you moved into the castle.
    Looking into the castle should look fine to the player, and looking out from inside should see fog outside, but not inside.
    Is this possible with Enviro?


    Is there a clear set of instructions to follow about how to get that to work?

    I can't find anything about it in the manual.

    PS: I'm using Enviro version 2.1.5, although I could upgrade my version of Enviro if needed.

    Thank you!

    - Murray
     
  27. muzboz

    muzboz

    Joined:
    Aug 8, 2012
    Posts:
    86
    I have had some luck working out the Interior Zone system now.

    I see that it only has an effect at runtime, which I had overlooked.

    Is there a newer version of the documentation than 1.8.1 that is found online?
     
  28. muzboz

    muzboz

    Joined:
    Aug 8, 2012
    Posts:
    86
    I'm now having trouble with the Sun & the Moon "Volumetric Lighting" shining through objects and the terrain in my scene.

    I'm using Enviro 2.1.5 in Unity 2018.4.9 LTS.

    Please see this video for details.



    Another video of it here, showing some other even more extreme cases.



    Is there a way to fix this? Thanks!
     
    Last edited: Feb 15, 2021
  29. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, latest documentation is always included in main asset folder. About your issue with the volume lighting:

    Only thing that would come into my mind would be tweaking the your Unity shadow settings. That may could stop the that on most cases. However maybe consider joining our discord channel and we can have a detailed look into your scene and try to work out a solution together.

    https://discord.gg/5c6kfW6
     
    muzboz likes this.
  30. Jelmer123

    Jelmer123

    Joined:
    Feb 11, 2019
    Posts:
    170
    Does this work on WebGL2.0?
     
  31. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, what Unity version do you use at the moment? I haven't tested WebGL 2 with later Unity versions yet. But it should work.
     
  32. ilyaz_khanMohd

    ilyaz_khanMohd

    Joined:
    Jun 9, 2020
    Posts:
    3
    Hi,

    I am also facing the same problem. Can please provide me any solution for :
    Assets\Enviro - Sky and Weather\Core\Scripts\3rd Party Integrations\FogVolume3 Integration\EnviroFogVolumeIntegration.cs(22,9): error CS0246: The type or namespace name 'FogVolume' could not be found (are you missing a using directive or an assembly reference?)
     
  33. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    175
    Update sound great! Thanks!
    Will it include a fix for the MSAA URP issue?
     
  34. Magic73

    Magic73

    Joined:
    Jun 23, 2015
    Posts:
    121
    Hi,
    I got a strange issue with Enviro. While I'm inside the editor (but then in some case when I'm in play mode also), there is a big shadow over the terrain, but I can't figure why and where it came from.

    upload_2021-2-18_10-27-39.png
    upload_2021-2-18_10-27-58.png +
    upload_2021-2-18_10-28-18.png


    these screenshots are taken just rotating around at 360°.


    Any idea about where this shadow came from?
     
  35. Magic73

    Magic73

    Joined:
    Jun 23, 2015
    Posts:
    121
    mmm Sorry, about posting here. I disabled Enviro, then I created a new direct light.. and the issue is still there.
    Shadow came from terrains, but I don't understand why, since they are plane.
     
  36. amit-chai

    amit-chai

    Joined:
    Jul 2, 2012
    Posts:
    71
    Hi, I am trying to set the enviro for URP and getting 40 errors. can you please help? upload_2021-2-18_12-32-35.png
     
  37. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, please check your Project Settings -> Player -> Other Settings -> Scripting Define Symbols list and look for a fog volume 3 define here. Please remove that one if you don't have fog volume in your project.
     
  38. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Sorry, currently have no real fix for the msaa issue with sky fog.
     
  39. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, looks like that the scripts hasn't auto updated for URP. I will send you a package with latest URP support scripts now to get you up running.
     
  40. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hello, I think I've seen this before. But I am unsure how to fix it at the moment. As you noted it also can occur without Enviro. Have you already tried to move your terrain down?
     
  41. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    175
    That's too bad. Is it something specifically URP related?
     
  42. amit-chai

    amit-chai

    Joined:
    Jul 2, 2012
    Posts:
    71
    Thanks! forgot to mention Im using 2020.2.4
     
  43. ranaUK

    ranaUK

    Joined:
    Mar 1, 2017
    Posts:
    165
    Hi Vondox, I have the exact same issue with 2020.2.4. Can I please get the updated support script as well? Thanks in advance.
     
  44. Magic73

    Magic73

    Joined:
    Jun 23, 2015
    Posts:
    121
    Terrains are at 0 level.
    anyway if I disable the SRP Batcher from the URP Render Pipeline, the issue gone away.



    :(
     
  45. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hm okay, strange. I will have a look into that alter.
     
  46. jnoffke

    jnoffke

    Joined:
    Nov 26, 2013
    Posts:
    31
    I'm using a similar VR setup, would it be possible to get this hotfix as I see this issue as well.
     
  47. Jesus

    Jesus

    Joined:
    Jul 12, 2010
    Posts:
    489
    View attachment 797879
    I'm also having the same issues, would I be able to get a fix for it?

    I'm on 2020.2.4f1
     
  48. ShaneJK

    ShaneJK

    Joined:
    Aug 27, 2016
    Posts:
    1
    Hello! I am also having this issue trying to install enviro in URP. Can you help me update these too please? Using Unity 2019.4.21f1.

    Thanks!
     
    Last edited: Mar 10, 2021
  49. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,261
    Hi, please check your private msg. Sent you the package.
     
  50. Ben_Iyan

    Ben_Iyan

    Joined:
    May 13, 2016
    Posts:
    200
    Nice looking asset, but the video on the Asset Store doesn't show much weather, just a little rain and, to be honest, the raid didn't look that good. Do you have more videos showcasing the weather aspect of Enviro?
     
unityunity