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

uSkyPro – Precomputed Atmospheric Scattering [2.0 Beta]

Discussion in 'Works In Progress' started by Luckymouse, Sep 14, 2014.

  1. CDUnityDev

    CDUnityDev

    Joined:
    Jan 31, 2017
    Posts:
    25
    Getting lots of compile errors with this asset unfortunately. I resolved this one by deleting the .cs files referenced, but I still get errors even though they don't always prevent builds.

    Atmospheric Scattering seems to be impossible as far as I can tell. I read the ReadMe and assigned the correct components to both the active camera and the uSky prefab. Even the naked example scene for Atmospheric Scattering has compile errors which prevent it from running. Unfortunately this was the main reason why we got uSky in the first place.



    #1 - Any solution?

    #2 - Second question - in the demo scene, is the fog slider modulating Atmospheric Scattering, Unity Fog, or the uSky Unity Fog component? Because that's what we want.

    #3 - For uSky's Unity Fog component, is there a way to change density?

    #4 - Is the sunshafts component usable yet?

    #5 - We are using uSky on mobile and performance seems pretty solid, but we wanted to know if you had any advice in this area.

    Thanks.
     
  2. alexutzu2

    alexutzu2

    Joined:
    Nov 26, 2016
    Posts:
    1
    hi, Color Blindness :)
     

    Attached Files:

  3. crudeMe

    crudeMe

    Joined:
    Jul 8, 2015
    Posts:
    81
    So, what's on the roadmap? Any cool stuff coming in or there is not much stuff going to happen?
     
    ftejada likes this.
  4. Kojote

    Kojote

    Joined:
    May 6, 2017
    Posts:
    40
    Hello!

    I bought the uSkyp Pro Asset this morning, have now made some attempts to get it to run, however, it looks to me at the time so:



    Even in the test scene there are problems. Does somebody has any idea?

    Many Thanks!
     
  5. MarcusGT

    MarcusGT

    Joined:
    Jun 4, 2016
    Posts:
    1
    Hello there :)

    At first usky is making real fun to play with!
    But i have a little problem. It seems that the cloud Layer is in front of the geometry. It seems that the cloud Layer is in some Distance around the Scene is this right ? and is it possible to control those distance ?
    So in normal SceneView everything its okay. But in Play-Mode the clouds are before the geometry. Do you have a clou about that ?

    Cheers
     
  6. crudeMe

    crudeMe

    Joined:
    Jul 8, 2015
    Posts:
    81
    https://forum.unity3d.com/threads/u...attering-2-0-beta.268288/page-15#post-3163542

    Had same problem, but it was fixed since some time. Make sure you are using the latest version.
     
  7. Luckymouse

    Luckymouse

    Joined:
    Jan 31, 2010
    Posts:
    481
    @claydamron, Kojote, crudeMe
    Sorry for the shaders errors. The new version has been submitted, waiting approval, should be available next week.

    Coming Update info
    uSky 1.5 Change Log
    =======================
    Known Issue:
    LightShaft is still broken in Single Pass VR. (working on Non-VR built)

    - Fixed the Shader error for unity version 5.6.0 or newer
    - Now Atmospheric Scattering (and Occulsion) supports Single Pass VR.
    - Added 1024 Resolution MilkyWay Cubemap.



    If you still have any error please post it here, and provide follow information.
    - Which OS of the Editor (Windows, Mac)?
    - Which Version of Unity Editor?
    - What is your target built platform (Windows Standalone, iOS, Vive, Oculus/Gear VR)?
     
    Last edited: Sep 7, 2017
    ftejada likes this.
  8. Luckymouse

    Luckymouse

    Joined:
    Jan 31, 2010
    Posts:
    481
    Please try the later version 1.5. See if you still get any error.
    You are right, At the moment uSky doesn't have the control for the fog yet, that will be a priority to add this feather for future update.
    I believe uSky LightShaft is still working (Tested in v1.5), but just not for the VR yet.
    - Use x1 Inscatter Alitude Sample
    - Basic skybox and clouds setup are optimized for mobile.
    - LightShaft is still possible to run on mobile.
    - Atmospheric Scattering are not recommended to run on mobile yet.


    I do have a lot of ideas, but right now I can not promise to add new feature. If there are any, I will announce it later.
     
    Last edited: Sep 7, 2017
    Kojote likes this.
  9. Luckymouse

    Luckymouse

    Joined:
    Jan 31, 2010
    Posts:
    481
    New version 1.5 on the AssetStore.
    Fixed the Shader errors for unity version 5.6.0 or newer (2017.1). Please update this latest version.
     
    JBT27 and ftejada like this.
  10. ftejada

    ftejada

    Joined:
    Jul 1, 2015
    Posts:
    606
    I'm really glad to hear this.


    I hope you continue working on your asset. It's the best results I've got from all the assets I've tried (Azure, Unistorm, etc).

    regards
     
    Luckymouse likes this.
  11. f1ac

    f1ac

    Joined:
    May 23, 2016
    Posts:
    65
    Are there any plans to implement spherical ambient light? This is probably the single thing I'm missing, the rest is just great.

    Side note about having two lights for sun and moon: it is probably best to have just one light shared by both, and to set intensity to zero instead of disabling it when both are below the horizon. It would simplify interaction with other assets, which usually expect one light object which won't change during play. For example SEGI is trying to access disabled sunlight sometimes, and doesn't handle well switching between lights.
     
    asemenov likes this.
  12. AERwaevs

    AERwaevs

    Joined:
    Feb 28, 2013
    Posts:
    5
    As someone who personally can't live without SEGI now that it's open source, I made a simple compatibility script for SEGI and uSky. Add the script to uSky (Or anything really, it should find all relevant references.) and change the time of day slightly as it uses uSky's UpdateLighting event. Note that it isn't quite plug-and-play, as it requires some code snippets to be inserted into uSkyLighting.cs, contained at the top of the script. It should work for all exposure/light brightness settings but has only been tested with proper HDR set up. My coding skills are remarkably average so if anyone can clean up the code feel free to post it here.

    Edit: forgot to mention that it's set up to support the cascaded version only, if you use the non-cascaded variant then a quick edit to the SEGI reference is all that's needed
     

    Attached Files:

    Last edited: Dec 1, 2017
    asemenov and ftejada like this.
  13. Fewes

    Fewes

    Joined:
    Jul 1, 2014
    Posts:
    198
    Hi, any chance of packing a transparent shader compatible with uSky along with the asset? This would greatly assist in adding uSky support to custom shaders, such as forward-rendered ocean shaders. Thanks!
     
    Last edited: Dec 1, 2017
    crudeMe likes this.
  14. Aubrey-Falconer

    Aubrey-Falconer

    Joined:
    Feb 13, 2008
    Posts:
    434
    Greetings @Luckymouse! I'm experiencing an issue with stars rendering in front of scene geometry when using a deferred lighting path. Have you experienced this - and do you have a potential fix?

    I'm happy to throw together a test case if it would be useful. Simply add uSky to a scene, set the main camera to "Deferred" and throw a large plane under the camera. Even during the daytime, stars below the horizon will appear as black dots on the plane.

    Unity 2017.2.0f3 (64bit) - Earth.unity - terra-.jpg

    Edit: In Deferred rendering mode, I'm also seeing clouds render in front of sufficiently distant scene geometry. Any ideas?

    clouds_floating.jpg
     
    Last edited: Dec 4, 2017
  15. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    3,820
  16. nbac

    nbac

    Joined:
    Jul 7, 2015
    Posts:
    250
    wow i did miss that till now. when is eta for 2.0? are those clouds animated/ volumetric?
     
  17. pojoih

    pojoih

    Joined:
    Mar 30, 2013
    Posts:
    185
    I've got a problem with the scattering image effect in SteamVR (Single and Multi-Pass). Tilting the head produces weird artefacts. They are different on both eyes: Tilting the head right produces the artifacts on the right eye and tilting left on the left eye.

    Unity 2018-02-19 20-48-43-13_1.gif
     
  18. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    3,820
    This asset appears to be dead.
     
  19. crudeMe

    crudeMe

    Joined:
    Jul 8, 2015
    Posts:
    81
    Such a pity. One of the easiest and prettiest ambient solutions I've come across.
     
  20. Freznosis

    Freznosis

    Joined:
    Jul 16, 2014
    Posts:
    270
    Was looking at purchasing this asset to replace another sky solution, that sucks that this asset died, easily one of the best sky solutions I've seen on the store.
     
unityunity