Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Released] Advanced Terrain Grass

Discussion in 'Assets and Asset Store' started by larsbertram1, Sep 11, 2017.

  1. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    then there is no reason why it would take so long. have you tried the full demo terrain as well?
     
  2. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    which render pipeline do you use? BIRP or URP?
     
  3. abbasjafari

    abbasjafari

    Joined:
    Mar 7, 2020
    Posts:
    14
    BIRP
     
  4. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    i just tested ATG 1.36.1 and 1.4 using BIRP on an Mac Book Pro M1.
    so it runs on metal and should run on iOS as well.
    for some reason the HiZBuffer texture is not set - maybe the shader is broken - or you have diabled the component on the camera?
    i tested the full demo.whith compute enabled.
     
  5. abbasjafari

    abbasjafari

    Joined:
    Mar 7, 2020
    Posts:
    14
    Thank you for the help, but I had to disable ATG on the iOS version and keep it only on Android.
     
  6. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    this is far from being ideal....
    the grassmanager script has a bool: useHizCulling. usually this is set to false if VR is active or you use URP or HDRP.
    you could set it to false
    if (Application.platform == RuntimePlatform.IPhonePlayer)
    this will make the compute shader skip the HiZCulling by using another kernel.
     
  7. KingLlama

    KingLlama

    Joined:
    Jul 18, 2015
    Posts:
    198
    Running into a issue when in the project. I see the grass but ingame when hitting playing I see pink squares per cell. I verified the grass is properly set to the shader.

    -my mistake. Was wrong shader.
     
    Last edited: Sep 4, 2023
  8. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    :)
     
  9. laja

    laja

    Joined:
    Sep 29, 2022
    Posts:
    11
    Hi! Can I use this asset with 2022 LTS, URP pipeline?
     
  10. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,848
    that should be absolutely fine.
     
    laja likes this.