Vibrant Grass Shader

⭐ Key Features

  • Very Beautiful
  • Excellent Performance
  • Performant Lights and Interactions: Over 50 objects can be used as point lights and can interact with the grass (the grass is pushed aside with a sound effect when moving through it). Technically, it can handle up to 1000 objects, but performance drops significantly after about 50.
  • Customization: Paint shadows, height, colors, and modify many material properties.
  • Color Masks: Painted colors can be changed after applying them—very handy if you change your mind.
  • Professional UI: Simple and intuitive design, use a brush wheel and shortcut keys while painting.
  • Audio Tool: Easily make the grass area continuously emit a sound effect (useful for simulating the sound of wind moving the grass).
  • Fast Customer Support: On a normal week, you should get an answer within 1-2 days.
  • Hill Collisions: A system prevents the wind from pushing the grass through the ground (works best on smooth grounds).
  • Interaction Height: Interaction objects push only grass stalks taller than the lowest height of the object (works approximately). Useful for hovering objects.
  • Shader Graph: The shader uses Unity’s Shader Graph, allowing easy addition of custom features.
  • Blends well with HDRP Volumetric Fog
  • Flexible Wrapping: You can wrap the grass onto any collider, including Unity terrains.

🔧 Compatibility

  • Compatible with Windows, Mac (including Metal), Linux (tested successfully in Debian), and non-standalone VR (the build must be run by a computer).

  • NOT compatible with mobile devices.

  • Compatible with Built-in, URP, and HDRP.

  • Compatible with Unity 2019.3.0f5 and higher.

    • With Unity 2019 and 2020, the asset won’t work in Built-in.
    • Some versions have issues that have fixes mentioned in the documentation found in the package.
  • Not tested yet with Nintendo Switch, PS4/PS5, Xbox One, and Console VR, but it is expected to work. If you’re able to test on one of the untested platforms, please contact me :) !

Compatibility issues:

  • Transparency isn’t working in Built-In.
  • Specific to Unity 2019: Transparency isn’t working, the asset won’t work in Built-in, and the example scenes won’t work.
  • Specific to Unity 2020: Transparency isn’t working, and the asset won’t work in Built-in.
  • Specific to Gamma Rendering Color Space: Shadows, heights, and painted colors are saved inaccurately. The visuals are overall different, and transparency won’t work.

✖️ Limitations

  • Creation Time: It takes time to wrap the grass onto the ground (a couple of seconds per 15x15 meter grass field, depending on your computer) and to paint heights and shadows. Tested on a PC, it took 1 minute to wrap a 75x75 meter area and 10 minutes for 300x300 meters, but it depends on your computer. Please check the “Setup” file for some advice before working on a large area.
  • Unlit Materials, Manual Shadows: Painting shadows manually is great for customization and performance, but it takes time and must be done in edit mode. There is no official way to make the grass react to Unity’s lights and shadows.
  • Setup in Edit Mode: The grass must be set up and wrapped onto the ground in edit mode.

Please read the “Setup.pdf” found in the package before using the asset.

If you found an issue that isn’t mentioned in the documentation, you can contact me using the links or the email mentioned below, and I’ll do my best to fix it!

Any questions? Contact me on my website, join me on Discord, or send me an email at "asalfinmails@gmail.com". On a normal week, you should get an answer within 1-2 days.


Third-Party Notice:

This asset uses Noise Generator under Apache License Version 2.0 and Unity-SerializableDictionary under MIT License; see the “Third party Notices.txt” file in the package for details.

Developed by

Asalfin

Works with

Unity 2021.3, Unity 2022.3, Universal Render Pipeline (URP), Built-In Render Pipeline (BiRP), High Definition Render Pipeline (HDRP)

Want to build better games?

© 2024