Unity and Unreal

Stylized Grass

Ghibli-style grass package for Unity URP with wind, interaction and custom LODs. Vector-field grass in Unreal 5.8 is in progress.

Unity package, in engine

How it works

Unity package. Made for Unity 2022.3 and later with URP, it mimics the Ghibli animation style, with prefabs, scenes, shader graphs and scripts. It installs from the Package Manager using its git URL.

It defines its own level of detail system: the fade between levels runs on the GPU, using the object bounds in the shader, while the CPU only enables and disables the renderers.

Unreal vector field. The clip of the character running through the grass shows the beginning of the vector-field interactive grass, in progress for Unreal 5.8.

Wind is simulated with a Perlin noise field that scrolls over time in the wind direction set by the weather system. The noise adds natural-looking variation in strength, while the scrolling makes gusts travel across the scene in that direction.