os. Grass | Fuzzy, Stylized Grass Shader for URP

os. Grass
Create fuzzy, stylized grass for Unity URP.

FAQs
Discord

It is rendered using the Shell + Fin fur and grass rendering methodology. Compatible with non-skinned Mesh Renderers. Drag-and-drop to apply.

Supports cutting, erasing, and tinting interactivity, additional lights, decals, periodic and turbulent wind, wind lighting, coverage masks, shape + detail noise, grass direction mapping, distance fading, UV and World Space sampling methods, surface normal fading, casting shadows (additional + directional lights), receiving shadows (directional lights only), built-in fog.

Writes to the shadow map, depth buffer, and depth normals buffers.

It uses special lighting algorithms to give the visual effect of having individual blades of grass.

This thread will be a platform for questions and support. Package will be live once it is approved by Unity :slight_smile:

os. Grass is now available
Hi y’all! Our grass asset is now live on the Unity Asset Store :slight_smile:
Click here to check it out: Fluff: Grass for URP | VFX Shaders | Unity Asset Store

Giveaway
We are giving away 5 free vouchers over the next few days!
If you want to enter the voucher giveaway, just share your email at the following Google form.
https://forms.gle/7KSgBmvnpHuHhWC96.

could this be adjusted to work in 2020.3 LTS?

InitializeInputDataFog is not found in 2020.3

Hi! You can compute the factor using the half ComputeFogFactor(float d) method. It expects the clip-space position z coordinate as the input. Here’s an example of Unity using that method in their ForwardLitPass before 2021.3.
https://github.com/Unity-Technologies/Graphics/blob/32ea6be2c6a695c37a0ce2c2fe417a135701d256/com.unity.render-pipelines.universal/Shaders/LitForwardPass.hlsl

fogFactor = ComputeFogFactor(vertexInput.positionCS.z);

Then, use that fogFactor as the input for the MixFog method.

Let me know if this helps!

Some more screenshots of the grass in action :slight_smile:
Using Toon Kit 2 for the characters and props.