Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. 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

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

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

  1. diggerjohn

    diggerjohn

    Joined:
    Apr 28, 2009
    Posts:
    60
    VRTK ....
    I saw a discussion back in 2017 about Enviro and VRTK but not very enlightening to me now.
    Is there a tutorial out there that will help me use Enviro with VRTK?
    I have your current documentation and there is no mention in it of VRTK or Steam.
    I am using SteamVR for the headset rendering.
    Thank you.
     
  2. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Thanks! I will have a look into your changes and may implement those in a future patch.
     
  3. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, what issues do you see? To be true I haven't tried VRTK since years.
     
  4. spaceyjase

    spaceyjase

    Joined:
    Apr 13, 2017
    Posts:
    4
    Hey folks,

    I get an error when I attempt to package the game:

    Pixel sizes of texture "Enviro Directional Light : Shadow Map Render Texture (UnityEngine.RenderTexture)" (512x256) does not match the required size of 512pixels for width and 512pixels for height.

    Occasionally, this is the other way around - that is, Unity complains the 512x512 render texture doesn't match the 512x256. Any ideas?

    Thanks in advance!

    - spaceyjase

    edit: more info - if I disable the Auro light, the build works.
     
    Last edited: Oct 9, 2020
  5. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,754
    @Vondox
    For some reason Ambient sounds aren't playing. I hear thunder and such from lightning, but the Ambient SFX isn't heard.

    I put Ambient SFX Volume all the way to 1.
    I've tried multiple Weather Presets to no avail.
     
  6. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, sounds more like it is related to Aura and not Enviro. Maybe ask in Aura support thread.
     
  7. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, by default Enviro will start in winter season and all the weather presets have no ambient sounds for winter assigned. Maybe just try and increase the days to next season.
     
  8. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,754
    Oh wow, that worked! Thank you :).
    I was trying to tick the season to the one I wanted - Swear that was how it used to be. But that definitely did it mate, thank you! :)
     
    Vondox likes this.
  9. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    229


    At 0:35 seconds into the vid how do I stop the harsh transition of day->night? The color palette seems to do a hard switch around 18:30 hours suddenly becoming very bright again.
     
  10. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, two options here. First would be activating the "Dual" light mode in your Enviro Sky instance -> Edit Profile -> Lighting category. You may need to start your game once or twice for Enviro to set this up for you.

    Otherwise you also can try to activate the "Simple" Sun and Moon Position mode in "Sky" category. That way your night lighting will be more consistant over the year.
     
  11. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    229
    Thank you but neither of these achieve the effect I want.

    Prior to the transition envrio directional lights rotation is roughly 0,66,0 then it snaps to 40,66,0

    Anyway to stop this movement? Can't seem to find where it's doing this in the code.

    Thanks!
     
  12. alexjet1000

    alexjet1000

    Joined:
    Jul 29, 2020
    Posts:
    8
    Hi! i was curious to know if there was a predictor functionality like weather for tomorrow or something close to it?
    Thank you!
     
  13. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hm the dual lighting mode should actually do the trick here. The jump in rotation is based on the change from sun to moon lighting when only using one directional light. With two lights there won't be that jump anymore.

    Do you really changed the setting in your Enviro Sky Instance -> Edit Profile directly, or do you changed it in profile asset in your project folder? When using the second method you still need to load in the profile settings in your Enviro Sky Object with the "Load Profile" button. Maybe give it another try.
     
  14. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, sorry not at the moment. But this is planned for a future update.
     
  15. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    1,637
    Because of a previous video I did with Enviro and Weather Zones I got asked how I did that. So I thought I'd combine a new quick video with a script that Hendrik showed me some time ago. Basically here you see how to use Enviro Weather Zones combined with Crest Ocean Waves:



    Hendrik allowed me to post the sync script, so see the attachments.
     

    Attached Files:

    rnner9000, jimmygladfelter and Vondox like this.
  16. jimmygladfelter

    jimmygladfelter

    Joined:
    May 3, 2020
    Posts:
    58
    Hello!

    Im currently using URP with Unity 2019.4.12f1 (LTS)

    I follow the instructions for getting Enviro setup with URP and it looks fine in the scene view but as soon as I click play, I dont see any volumetric clouds or effects:


    Any ideas? Did I miss something maybe?

    Ive been using built in for a while and recently switched to URP so I am a noob in terms of this new rendering pipeline.
     
  17. jimmygladfelter

    jimmygladfelter

    Joined:
    May 3, 2020
    Posts:
    58
    I found the issue, I had to enable depth textures in the render pipeline asset:
    upload_2020-10-18_0-36-47.png
     
    Vondox likes this.
  18. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    229
    Dual achieves the effect of removing the harsh transition but causes other issue, multiple shadows, things staying lit at night, shadows growing/shrinking multiple times in a day ect. It would be easier for me to just remove the rotation change than fix all that I think.
     
  19. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    1,637
    Tried the Enviro - Crest Integration in HDRP:

     
  20. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, maybe you just need to tweak the lighting color and intensity gradient/curves a little bit.

    If you want to get rid of the switch between sun/moon you may want to have a look into EnviroCore.cs and search for those lines with: "Components.DirectLight.rotation"
     
  21. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,003
    That looks VERY nice... so Enviro is working with HDRP? I was testing out the HDR Sky lighting and now I want to try this out...

    @Vondox Is the current version of Enviro working with HDRP? I have a TON of scenes to test out
     
  22. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, you can join HDRP beta grp in our discord channel. https://discord.gg/5c6kfW6
     
  23. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    229
    Found it and commented it out and it's working as I wanted, thank you! :)
     
    Vondox likes this.
  24. galman33

    galman33

    Joined:
    Jan 24, 2014
    Posts:
    13
    How can I make the fog work on transparent URP/Lit materials? Thanks!
     

    Attached Files:

  25. ProvencalG

    ProvencalG

    Joined:
    Jan 24, 2018
    Posts:
    9
    Hi. I have an issue. I'm running in Unity 2019.4.12 with URP by the way, and I disabled global reflections.
    My reflection probes bake really weirdly, it's quite random, 2% of the time I'll have a proper baking like here.

    But most of the time, the probe ignore all, or some of the bottom assets and shows what I think is the skybox instead.


    At first I was looking for a Unity bug but I think this may be an Enviro bug.
     
  26. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, I will send you some package with latest URP integration. Might help in your case too.
     
  27. Comeonjoe

    Comeonjoe

    Joined:
    Aug 24, 2020
    Posts:
    2
    QQ截图20201031003406.png
    QQ截图20201031003537.png


    I don't know what happened.
    As long as I get rid of the Sun Shafts I won't report a mistake but there will be no effect.
     
  28. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    229
    Hello,

    Weather.weatherprefabs starts with a count of 0 then goes to 11. Is there a way to have it start at 11? I am using ChangeWeather on Start() when loading the game to set it to whatever it was last time the player was on.

    Right now I'm waiting for the count to be > 0 before changing the weather, which works fine, just wondering if there's a better solution.

    Thanks.
     
  29. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, do you have the standard version of Enviro or only Lite one? I can send you an hotfix for that issue then.
     
  30. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, the lists will be populated on first frame. So best to wait one frame before trying to change the weather. For example with a coroutine.
     
  31. Comeonjoe

    Comeonjoe

    Joined:
    Aug 24, 2020
    Posts:
    2
    I have the standard version of Enviro,but i use the lite version in my project.
    my email: joecomeon15@icloud.com
    Thank you!
    upload_2020-11-2_10-5-22.png
     
  32. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    I have sent you a mail with the hotfix package.
     
  33. Tony-Lovell

    Tony-Lovell

    Joined:
    Jul 14, 2014
    Posts:
    118
    My scene is entirely ocean (no land). I find that the sun is still visible at the nearest point to tthe horizon it is below, even at 1 AM.

    How can I correct this?

    Here is the pretty darn bright clouds and mild sun glow at about 350 degrees at 11PM.



    tone
     
    Last edited: Nov 3, 2020
  34. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, yeah strange, it looks quite wrong. Can you please send me profile and weather preset in a private msg?
     
  35. Hawk0077

    Hawk0077

    Joined:
    Nov 6, 2017
    Posts:
    708
    Hi, does anyone have an idea what could be causing my terrain to be red. If I deactivate the Enviro Directional Light The terrain is normal, but when activated the terrain turns red.

    I am using up to date Enviro with HDRP.

    Any ideas appreciated, thanks

    image_2020-11-05_105131.png
     
  36. Hawk0077

    Hawk0077

    Joined:
    Nov 6, 2017
    Posts:
    708
    Sorry, I just deleted Enviro and created it again. Doah! Its fine now
     
    Vondox likes this.
  37. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    265
    Hi there, just tested Enviro with Crest (both URP) a bit using latest Unity version 20201.12f1 and it looks like that:



    This is a fresh project with standard settings. The only thing I've changed was to set the camera far clipping plane to 500. I had the impression this would somehow set the sky accordingly. At least the Enviro sky shows the correct (?) scale of 500 now.

    What am I doing wrong?
     
  38. Hawk0077

    Hawk0077

    Joined:
    Nov 6, 2017
    Posts:
    708
    Hi, Does anyone have an idea what is causing this Enviro Directional Light issue?

    Changng direct light angle-offset changes the shadow distance but can find another setting that could be causing this.

    When I zoom out or in the circlular light moves and expands.

    When I am in play mode the shadows appear and disappear on the terrain.

    Any ideas appreciated, thanks

    It disappears when I untick the Shadow Map Enable box. But then, all shadows do.

    ENVIRO.PNG
     
    Last edited: Nov 9, 2020
  39. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    4
    i use enviro in game. but lot of bad feedback from players regarding this black area
     

    Attached Files:

  40. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, you can disable that in your Enviro Sky Lite Instance -> Edit Profile -> Sky category -> "Black Ground Mode".
     
  41. Tony-Lovell

    Tony-Lovell

    Joined:
    Jul 14, 2014
    Posts:
    118
    Hi, Vondox. Were you able to find a fix for this?

    tone
     
  42. OffroadGamesStudio

    OffroadGamesStudio

    Joined:
    Mar 13, 2016
    Posts:
    4
    i am using 2.2.1. unable to find this option.
     

    Attached Files:

  43. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hi, yeah you need to update enviro. The option was added in a later update.
     
  44. thomasg81

    thomasg81

    Joined:
    Feb 13, 2018
    Posts:
    1
    Can someone help me? My rain particles are all pink, no texture is showing

     
  45. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, yeah that is not normal. But I need some more information from you. I will write you in private conversation.
     
  46. Ali-Nagori

    Ali-Nagori

    Joined:
    Apr 9, 2010
    Posts:
    143
    hi also want support for standard fade shaders +so many other distortion shaders
     
  47. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, can you pls send me a private msg with an example shader you want to have modified?
     
  48. bentrewhella

    bentrewhella

    Joined:
    Sep 4, 2014
    Posts:
    1
    Hi there - I'm a little confused about HDRP and pro versions - I have purchased Enviro from the Asset store and cannot find any reference to Enviro Pro searching all over the place. I cannot seem to get this version to work with HDRP (plenty of support for URP though) - can I purchase the pro version / HDRP compatible version or is this still work in progress? Many thanks
     
  49. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,198
    Hello, HDRP support is in beta testing. You can join our beta grp in our discord channel.
     
unityunity