Search Unity

[v4.0.0 Released] Massive Clouds - Screen Space Volumetric Clouds

Discussion in 'Assets and Asset Store' started by mewlist, Nov 9, 2018.

  1. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Massive Clouds v4.0.0 Released !


    Unity Asset Store URL:
    https://assetstore.unity.com/packages/slug/131898

    1200x630.png GodRay_1.png
    HomeDay.png Cloud01.png コンタクトシート-M.jpg

    Make various clouds with Massive Clouds

    Massive Clouds renders 3D clouds with volume rendering in screen space. More than 60 different presets are available and you can start using them right away. Of course, all the parameters can be customized freely, so you can create your own clouds to color the scene.

    Supported environment

    • Unity 2017.4 StandardRP / VR (MultiPass SinglePass)
    • Unity 2018.3 StandardRP / LWRP / HDRP / VR (MultiPass SinglePass)
    • Unity 2019.1 StandardRP / LWRP / LWRP VR

    ※ It is not compatible with Unity 2019.1 HDRP
    ※ It works as PostProcessingStack V2 custom effect in LWRP / HDRP environment
    ※ The VR device has confirmed the operation with (Oculus Rift / Google VR)
    ※ Does not support VR Single Pass Instanced

    Features
    • 3D cloud representation by volume rendering
    • A wealth of presets (including for VFX and mobile)
    • Horizontal rendering to cover the entire sky
    • Drawing of cloud shadows (screen space)
    • GodRay Representation by Volumetric Shadow
    • VR compatible (Oculus Rift / Google VR)
    • Automatic interlocking with AnbientProbe, DirectionalLight, FogColor
    • 4 different rendering engine
    • Load control with scaling function to reduce resolution only for drawing clouds
    • Draw multiple layers of clouds
    • Height Fog
    • Scroll animation
    • The clouds that can be dived
    • Coloring by lamp texture
    • Includes all script files
    • Materialization with MassiveClouds MaterialExporter

    Platforms

    • Windows (DirectX 11)
    • Mac (Metal / OpenGLCore)
    • iOS (Metal)
    • Android (OpenGL ES 3.0)
    • WebGL 2.0 (only Google Chrome supported)

    Thanks.
     
    Last edited: Aug 5, 2019
    DMeville and Gekigengar like this.
  2. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I update Massive Clouds to version 1.1.0

    Added Height Limitation Feature.
    Now you can fly inner or over clouds!
     
  3. punk

    punk

    Joined:
    Jun 28, 2013
    Posts:
    381
    do you know if these work in VR?
     
  4. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    VR is not supported currently.
    Because I do not have VR device.
     
  5. punk

    punk

    Joined:
    Jun 28, 2013
    Posts:
    381
    no prob's it seems to disable HDR when it's on - is that a bug?
     
  6. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Thank you for report.
    I will investigate into HDR off problem.

    What version of Unity do you use?
    Is Massive Clouds setuped as Camera Component or Postprocessing Effect?
     
  7. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I have reproduced this bug with Camera Effect.
    I do fix this.
     
  8. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Fix is done on my PC.
    But update on AssetStore may take several days.

    If you can edit Script, change Line 53 of MassiveClouds.cs

    Code (CSharp):
    1.             var renderTextureFormat = TargetCamera.allowHDR
    2.                 ? RenderTextureFormat.DefaultHDR
    3.                 : RenderTextureFormat.Default;
    4.  
    5.             commandBuffer = new CommandBuffer {name = "MassiveClouds"};
    6.             commandBuffer.GetTemporaryRT(id, -1, -1, 0, FilterMode.Bilinear, renderTextureFormat);
    7.             commandBuffer.Blit(BuiltinRenderTextureType.CameraTarget, id);
    8.             commandBuffer.Blit(id, BuiltinRenderTextureType.CameraTarget, material);
    9.             commandBuffer.ReleaseTemporaryRT(id);
     
    punk likes this.
  9. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    HieghtLimitation with Horizontal mode is not good.
    In next version I will update this feature.

    This is ScreenShot of new Height Limitation feature.

    HeightLimitationHorizontal.PNG
     
    Razmot and punk like this.
  10. ghtx1138

    ghtx1138

    Joined:
    Dec 11, 2017
    Posts:
    113
    Hello
    this product looks interesting - it works with HDRP.
    Can I get "god rays" from the sun/light to the ground through the clouds? Can lights interact with the clouds?
    Or because it is a post processing effect there can be no cloud interaction with the scene?
    Thanks
     
  11. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Thank you for your feedback.
    Unfortunately Light shaft effect like God ray is not available.

    I will think about god ray
     
  12. ghtx1138

    ghtx1138

    Joined:
    Dec 11, 2017
    Posts:
    113
    Thanks for letting me know!
     
    mewlist likes this.
  13. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Version 1.2.0 is released.
    And this bug is fixed.
     
    punk likes this.
  14. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I am working on next version 2.0.

    At Version 2.0, clouds rendering engine is absolutly polished.

    It will be gained rendering more real clouds and visual effects.

    This is result image rendered by new engine.
    NextVersion2.0.PNG
     
    punk and Bartolomeus755 like this.
  15. Lesnikus5

    Lesnikus5

    Joined:
    May 20, 2016
    Posts:
    60
    In version 2.0, the clouds look very beautiful. Will there be cloud shadow support?
     
  16. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Thank you very much.
    Version 2.0 is coming soon!

    Sorry, cloud shadow is not supported.
     
  17. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I create new Movie for next version 2.0.



    You can see Clouds Rendering Quality of Version 2.0 in this movie !

    I am preparing Version 2.0 to release.
     
  18. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Massive Clouds Version 2.0.0 Released !

    https://assetstore.unity.com/packages/slug/131898

    New Features
    • Octave Feature
    • Solid Lighting Calculation
    • Android Support (OpenGL ES 3.0)
    • Parameter is whole refined.

    Bug Fixes
    • [Fix] If only MassiveClouds active in PostProcessingVolume, nothing is rendered.
    • [Fix] Wrong projection used with Lens Shifted camera.
     
    Razmot likes this.
  19. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I am working on next version 2.1.



    - Finally VR will be available. (Oculus Rift and Android devices)
    - This movie is new "Phaser" feature demo.
    - GPU Performance will be proofed.
     
  20. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Now Version 2.1.0 Released on AssetStore!
    • VR Ready (Oculus Rift / Google Cardboard / Daydream)
    • Octave Phaser
    • Performance improved
     
    r3ndesigner likes this.
  21. r3ndesigner

    r3ndesigner

    Joined:
    Mar 21, 2013
    Posts:
    92
    i am thinking in buy it, but want to know, ll cast shadow in future?
     
  22. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    Does this work with Enviro? It would add the features I'm missing: Volume Clouds and Aurora.
     
  23. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    Just purchased it, I like it so far.

    If I may have a wish: It would be nice to have an easy adjustment for begin height and end height.

    And profile request: Sand Storm :)
     
  24. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    Do you know how to prevent the R.A.M. lake shining through? For Enviro one has to modify the R.A.M. shader. Similar here?

    Looks like this currently:

    ram.jpg
     
    mewlist likes this.
  25. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Sorry, casting shadow feature is not planned to implement currently
     
  26. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I will get Enviro and first research that.
    Please wait for research
     
  27. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    It may be not easy to setup.

    Do you want to set from and to height directly?
     
  28. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I hav R.A.M.. so will investigate R.A.M. shader.
    Please wait a moment

    Which do you use camera component or Postprocssing stack effect?

    it seems that rendering order problem
     
  29. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    Yes, if that were possible.

    Currently camera. But I've only just started testing :)
     
    mewlist likes this.
  30. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    So far I like it very much :) Best I've seen so far and performing very well.

    Another wish: The Aurora is hardly noticable at night. Should be more pronounced. A setting for various colors would also be nice. Maybe Enviro interferes here, the pic below is with Enviro.

    aurora.jpg
     
    mewlist likes this.
  31. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Aurora is not emissive.
    I will try to design that parameters!
     
    Rowlan likes this.
  32. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Hi Rowlan.
    I import R.A.M. and represent the problem.

    To resolve, there are two solutions.

    1. Set Lake material Render Queue to AlphaTest or less than 2501.

    upload_2019-2-20_23-49-5.png

    2. Set Massive Clouds Camera Event to After Forward Alpha.
    But this case, all other transparent object also affects.
    upload_2019-2-20_23-48-51.png

    Each solution does not resolve whole Transparency Object rendering problem.
    Like this
    upload_2019-2-21_0-16-34.png
    Massive Clouds reneders cloud as image effect. GrabPass material like R.A.M. can not grab clouds rendering result.
     
  33. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I install Enviro and setup with MassiveClouds.

    - Enviro owns clouds rendering feature, and It renders over MassiveClouds.
    upload_2019-2-21_1-13-23.png
    Like this (Rainbow color is MassiveClouds).
    If you want to render before Enviro Clouds, Set CameraEvent to "Before Forward Alpha".
    This image is the result.
    upload_2019-2-21_1-16-46.png



    - If you want to synchronize to Enviro Weather Controls, you may need to write scripts.
    Massive Clouds does not have Seamless preset changing. It would be valuable feature I think.
    (I think about how that realize in future version)

    Other feature looks like well working.


    In result, when setup with Enviro
    - Set off clouds rendering setting in Enviro presets.

    This image is with zero coverage in Enviro Rainy presets, and render MassiveClouds
    upload_2019-2-21_1-28-36.png
     
    Rowlan likes this.
  34. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I started to work next version.
    These features are projected for next version.

    - Add Brightness and Contrast parameters. It will be more easy to fit clouds color to scene.
    - Add "To Height" parameter. When enable horizontal mode, use this parameter for height limitation instead of Thickness parameter.
    - Fix some textures have wrong wrap mode.
    - Manual light direction and color. This will allow to render Aurora effect at night time.

    I think It would take a few weeks.

    Thanks.


    upload_2019-2-27_3-32-47.png
     
    Rowlan and r3ndesigner like this.
  35. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Next version working report.

    Today I implement Inspector GUI.
    By check state, unused parameters are folded or switched.
    From Height - To Height parameter seems easy intuitive !

    upload_2019-2-28_1-2-35.png
     
    Rowlan and r3ndesigner like this.
  36. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Next Version working report.

    I am working on new Edge Lighting idea.
    Edge Lighting emphasize edge of clouds.

    I also change Opaqueness calculation.
    Lower opaqueness will light shade of clouds.

    No Edge Lighting:
    upload_2019-2-28_23-13-41.png

    High Edge Lighting:
    upload_2019-2-28_23-14-50.png

    Render Detail Shade of Clouds with new Opaqueness:
    upload_2019-2-28_23-20-32.png

    Thanks.
     
    Last edited: Feb 28, 2019
    Rowlan and r3ndesigner like this.
  37. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Next Version working report.

    Global Lighting feature will be overhauled.
    Edge lighting will work with global light (Sun position based)

     
    Last edited: Mar 1, 2019
    r3ndesigner and Rowlan like this.
  38. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Next Version working report.

    Constant Light Power feature
    Ignore the directional light color.
    This will help you to show clouds in a scene having dark directional light.
    Clouds is shown at Night like below.
    upload_2019-3-3_17-43-5.png
     
    r3ndesigner likes this.
  39. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I am working to publish new Version 2.2 on AssetStore.
    Preparing new DEMO Movies.

     
    Last edited: Mar 7, 2019
  40. r3ndesigner

    r3ndesigner

    Joined:
    Mar 21, 2013
    Posts:
    92
    really good
     
    mewlist likes this.
  41. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    When will the update be on the asset store?

    By the way, i'm getting these in the console:

    Code (CSharp):
    1.  
    2. The serializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead.
    3. UnityEditor.Editor:get_serializedObject()
    4. Mewlist.MassiveCloudsEditor:OnInspectorGUI() (at Assets/MassiveClouds/Script/Editor/MassiveCloudsEditor.cs:43)
    5. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    6.  
    7. The serializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead.
    8. UnityEditor.Editor:get_serializedObject()
    9. Mewlist.MassiveCloudsEditor:OnInspectorGUI() (at Assets/MassiveClouds/Script/Editor/MassiveCloudsEditor.cs:47)
    10. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    11.  
     
  42. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Thank you for report.
    This errors (or warning) could not be found on my PC.
    Could you tell me what version of Unity do you use ?

    Next version is coming soon.
    I will send next version for review in a few days.
     
  43. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
  44. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    Massive Clouds version 2.2 is now available on AssetStore.

    Version 2.2.0

    - Dimming Sun by Global Lighting
    - Edge Lighting
    - Linear Color Space Adjustment
    - Brightness and Contrast Feature
    - Constant Light Power Feature
    - Renew Inspector GUI

    BugFixes

    - Fix wrong Tiling Mode given at VolumeTextures
    - Fix calculation of transparency with scene objects correctly

    Thanks.
     
    Rowlan likes this.
  45. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    836
    That was 2019.2.0a7. Don't mind if it isn't happening in another version. I thought I'd give your asset a try in HDRP because you mention it should work. So I used the one I currently tried and the console log sounded like it would be a general thing. If it isn't, please ignore it. I didn't notice it in 2018.3, but then again I didn't use HDRP there. So that's just an fyi :)
     
  46. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    I am glad to hear that.
    In future, HDRP and LWRP will become popular. So I will continue to support them.
     
    Rowlan likes this.
  47. praesidenter

    praesidenter

    Joined:
    Mar 5, 2016
    Posts:
    30
    If you make this feature dependent on how many people request it, I'm voting for it :) This would really elevate this already impressive asset even more!

    That said, I am very pleased with this, especially how easy it is to set up and play with the settings, well done. Also thanks for HDRP support!
    One thing (apart from cloud shadows) that I can think of as improvement would be that the clouds should hide the sun. Currently it can look odd at times, when you have a thick cloud, but can see the sun through it.
     
    Flurgle and r3ndesigner like this.
  48. r3ndesigner

    r3ndesigner

    Joined:
    Mar 21, 2013
    Posts:
    92
    perfect
     
  49. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    * Shadow

    Shadow feature will take more research and study.
    I will try that if I could !

    * Sun hidding

    Sun dimming is exactly not to hide completely.
    I test tearing Transparency parameter to Transparency and Dissolve parameters.

    Please wait for implement and release it.

    These are screenshot of this feature in HDRP.

    Dissolve = 0 and Transparency = 0
    Hide sun disc.
    upload_2019-3-12_8-58-30.png
    Dissolve = 1 and Transparency = 0
    Sun disk can be seen a bit, with clamped HDR color.
    upload_2019-3-12_8-59-10.png
    Dissolve = 0 and Transparency = 0.5
    Sun disc and HDR color is shown.
    upload_2019-3-12_8-59-48.png
     

    Attached Files:

    Flurgle likes this.
  50. mewlist

    mewlist

    Joined:
    May 22, 2017
    Posts:
    134
    r3ndesigner likes this.