Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

[Released] R.A.M River Auto Material.

Discussion in 'Assets and Asset Store' started by NatureManufacture, Oct 13, 2017.

  1. jason0663

    jason0663

    Joined:
    Dec 4, 2020
    Posts:
    41
    FYI I am getting 260fps on a 32k by 32k terain tiled, streamed with 58 ram rivers and 58 lux lakes and textured by vegetation studio at the moment
     
  2. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    I would say limit is heightmap resolution.

    Look unity allow max 4k or 8k heightmap. With terrain 32x32km with 1 heightmap you have 1 pixel per 4 meters. If you have river with 1-3meters it wont hit any vert under spline. Its not about size of the terrain but size vs terrain resolution. Please specify your object resolution size etc.
     
  3. pixelmonk

    pixelmonk

    Joined:
    May 25, 2011
    Posts:
    11
    I'm having a problem with some NM demo scenes after importing R.A.M.

    In the NM Forest Environment, the trial R.A.M. material looked fine. After importing the full version of R.A.M. all the Forest Environment's trial R.A.M.materials are now pink in the scene.

    Even after assigning any of the full version R.A.M. materials to any of the Forest scene RAM splines they remain pink. The material itself looks correct in the inspector (not pink). (see attachment)

    How do I fix this? Using Unity 2021.3.5 and URP.
    Thanks.
    R.A.M. Pink Materials in scene.jpg
     
    Last edited: Jul 31, 2023
  4. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Import urp support packs for both assets. You have built in shader in urp at your screen.
     
  5. MickyVfx

    MickyVfx

    Joined:
    Nov 3, 2021
    Posts:
    20
    Hi.
    R.A.M River Auto Material doesn`t detect my terrain "No terrain on scene". At some point, it detected the terrain but now it doesn`t.
    Any clues?
    RAM no terrain in scxene.jpg

    Thanks
     
  6. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    In basic label please chose layer with terrain for terrain detection.
     
  7. MickyVfx

    MickyVfx

    Joined:
    Nov 3, 2021
    Posts:
    20
    The terrain is on the "Default" layer. Should I make a new layer called "Terrain"?
    RAM no terrain in scxene 2.jpg
     
  8. MickyVfx

    MickyVfx

    Joined:
    Nov 3, 2021
    Posts:
    20
    Solved;) I had some messy terrain data exported from World Creator - empty terrain :)
     
  9. cficara

    cficara

    Joined:
    Sep 27, 2017
    Posts:
    35
    Hello! Is it possible to have upgraded integration files for Enviro 3? URP 2021.3 version. Water doesn't have fog applied.

    Current integration files use old paths and the current documentation example is wrong.

    The path
    "Assets/Enviro - Sky and Weather/Core/Resources/Shaders/Core/EnviroFogCore.hlsl"

    no longer exists, should be:
    "Assets/Enviro 3 - Sky and Weather/Resources/Shader/Includes/FogIncludeHLSL.hlsl"

    And instead of
    TransparentFog
    , function should be
    ApplyFogAndVolumetricLights
    .

    Tried to edit myself but the shader is a monster file of 30.000 lines. Any help would be appreciated.
     
    Last edited: Sep 26, 2023
  10. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Hi
    You need to contact enviro developer. We didn't get any files for enviro 3.
     
  11. MickyVfx

    MickyVfx

    Joined:
    Nov 3, 2021
    Posts:
    20
    Hi. I have problems regarding sorting order in an HDRP project.
    I have a VFX particle system that is rendered behind the river. The same problem I have with full-screen effects.
    ram material problem.jpg
    Thanks.
     
  12. MickyVfx

    MickyVfx

    Joined:
    Nov 3, 2021
    Posts:
    20
    I`ve solved the problem by changing the order in layer for particles.
    ram problem order in layer.jpg
    For full-screen effects, I've chosen "Before Post Process" injection point.
    ram problem order in layer 2.jpg
     
  13. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    Is Ram supposed to work on unity 2023.2.
    After upgrading my project I got pink water.
     
    sniperisa likes this.
  14. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    Unity 2023.2.1
    RAM 1.7.9.7
    HDRP

    Water is pink:

    Shader error in 'NatureManufacture Shaders/Water/Water Swamp Offset Vertex Color Flow': redefinition of '_WaterSmoothness' at /Repository/GameTest2023/GameTest/GameTests/Library/PackageCache/com.unity.render-pipelines.high-definition@16.0.4/Runtime/Water/WaterSystemDef.cs.hlsl(115) (on d3d11)
     
  15. sniperisa

    sniperisa

    Joined:
    Sep 20, 2015
    Posts:
    18
    The readme says that it is supported, but the support packs for urp/hdrp 16 are missing :(
     
  16. sniperisa

    sniperisa

    Joined:
    Sep 20, 2015
    Posts:
    18
    In Unity 2022. The Water reflected terrain and other objects, after Updateiing to Unity 2023.1.20, only the Sky is relfected, other objects are not (HDRP raytracing).
     
  17. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    If you update your engine version, also update pack so files and support packs will match engine version.
    Same situation. If you change engine version also update pack.
    Files from 2023.1 works on 2023.2 they didn't change much.
     
    Mark_01 likes this.
  18. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,100
    In packs I got this one for HDRP only.
    HD RP 15.0 Unity 2023.1 River Auto Material 2019
    I had it imported already.

    A you can see the error is related to version 16.
     
  19. s3an

    s3an

    Joined:
    Jun 7, 2013
    Posts:
    7
    Same problem as well.. Created new HDRP project in Unity 2023.2. Re-downloaded asset package and imported into project. I'm getting the same shader error after importingHDRP support prefab.
    Code (CSharp):
    1. Shader error in 'NatureManufacture Shaders/Water/Water Swamp Offset Vertex Color Flow': redefinition of '_WaterSmoothness' at /Repository/GameTest2023/GameTest/GameTests/Library/PackageCache/com.unity.render-pipelines.high-definition@16.0.4/Runtime/Water/WaterSystemDef.cs.hlsl(115) (on d3d11)
    2.  
     
  20. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Confirmed. I will upload fix today.
     
    Mark_01 and koirat like this.
  21. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Unity in HDRP... put the same names in properties as we had since few years... and block them in engine only for their water... so we have to rename them...
     
    Mark_01 likes this.
  22. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
  23. s3an

    s3an

    Joined:
    Jun 7, 2013
    Posts:
    7
    Works perfect! Thanks!!
     
    NatureManufacture and Mark_01 like this.
  24. Aashutosh_Dabhade

    Aashutosh_Dabhade

    Joined:
    Jul 4, 2022
    Posts:
    1
    can someone suggest how can i create stormy ocean waves with RAM river asset? screenshots would be very helpful.
     
  25. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Increase offset/tesselation values
     
    Mark_01 likes this.
  26. Ronny-Presque-VU

    Ronny-Presque-VU

    Joined:
    Sep 30, 2013
    Posts:
    2
    Ive already unpacked urp pack and stil cyan materials
     
  27. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Be sure you unpack the proper urp support pack to the proper urp version. The best idea is to download the pack (not only import) via the actual engine version.
     
    Mark_01 likes this.
  28. BruteForce93

    BruteForce93

    Joined:
    Dec 26, 2018
    Posts:
    4
    Hello there, I'm Alex, and i have a problem with R.A.M. Terrain snapping, i try to snap the river or road, to the terrain, and i got some strange shaping with the ground, i leave to you, the video, for explain better my problem, look strange terrain shape, and river / road flickering in some points too, the terrain is cutted hard, and all are strange, i try to watch your tutorials, and set exacly the same settings, for terrain curve, but nothing, always the same, i try another version of unity too, and got the same results, 2019.3, 2019.4, 2022.2 URP..

    Video link:

    Please help me, thank you in advance, Cheers & Regards, Alex
     
  29. BruteForce93

    BruteForce93

    Joined:
    Dec 26, 2018
    Posts:
    4
    I'm using R.A.M. 2019
     
  30. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Hi
    Please chose a layer at the basic panel to detect terrain. Atm you have chosen nothing.
     
    BruteForce93 likes this.
  31. BruteForce93

    BruteForce93

    Joined:
    Dec 26, 2018
    Posts:
    4
    Thank you, this caused the problem, by default come with selected Nothing layer, and i not pay attention to that, thank you so much, Cheers, Alex
     
  32. cr281164

    cr281164

    Joined:
    Mar 5, 2013
    Posts:
    15
    Hello, I have previously used VS Pro and have switched over to Microverse. Microverse uses Unity Splines to set up an occlusion for trees, objects etc. Does RAM use a Unity Spline and if so, is there an easy way for me to use that spline to setup the Microverse occlusion for RAM similar to how VS Pro worked? Or is there any thought to adding integration support for Microverse?
     
  33. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Hi
    We use our own splines as they ae much more complex.
    You have multiple YT videos with r.a.m and microverse and their integration. For example genesis.
     
  34. dario_vicentini

    dario_vicentini

    Joined:
    Dec 17, 2020
    Posts:
    1
    Hi,
    I'm having this problem below whenever I create, use or edit a R.A.M. material in Unity URP 2022.3.25f1.
    it makes Crash Unity too.

    upload_2024-5-7_11-37-11.png upload_2024-5-7_11-29-49.png
     
    wangtaoETO likes this.
  35. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Does urp files from r.a.m support pack match your urp.version? What version did you import and what support pack?
     
    wangtaoETO likes this.
  36. wangtaoETO

    wangtaoETO

    Joined:
    Apr 15, 2021
    Posts:
    3
    It becomes more and more laggy when I run it on an Android device.

    I opened the Demo Scene:URP RAM 2019 Demo Mobile.scene, deleted all lakes, rivers, and islands, leaving only one river, with all other configurations set to default values.
    Screenshots.png

    Then I packaged it into an Android .apk and ran it on my phone. Initially, the water surface was very smooth and looked great. I must say, this is a fantastic asset.
    https://youtube.com/shorts/UOZkXvrdzfk

    When the phone is left idle, after about 3 minutes, I noticed that the refresh rate of the water surface in the horizontal direction significantly decreases, appearing to refresh once every 0.5 seconds. After 10 minutes, the refresh rate of the water surface in the horizontal direction becomes even lower, refreshing once every 2 seconds. It seems that the longer the time, the lower the refresh rate.
    I tried it on other phones and the effect is the same.
    https://youtube.com/shorts/_AUln0XD6Cs

    During this process,The FPS remains very stable at 60 frames, and the frame generation time has not changed. the phone did not heat up, and the CPU was not running at full capacity. Strangely, the water flow in the vertical direction remained very smooth and was not affected. Why is this? How can I solve this problem? This is a very serious and unacceptable bug. I wonder if anyone else has encountered a similar issue?

    Additionally,I tried it on other phones and the effect is the same. I checked the documentation and various searches but found no results.

    I am using: Unity2022.3.28f1 URP14.0.11 RAM 1.7.9.6
    Phone models: xiaomi10s Android-13, huawei p50 pro, huawei p30 pro
    demo apk:https://drive.google.com/file/d/1F5PeDERXXwHUWUhMrXt1Ew5W-BttMZcS/view?usp=sharing
     
    Last edited: May 13, 2024
  37. NatureManufacture

    NatureManufacture

    Joined:
    May 20, 2014
    Posts:
    2,031
    Water movements depend on time calculation so it means unity stops sharing time properly. If fps is stable then only thing could be time value in your app.

    Sorry for late replay. I suggest to use discord, answer time there is about 5-10h.
     
  38. DavidBVal

    DavidBVal

    Joined:
    Mar 13, 2017
    Posts:
    208