top of page

You will quickly see that the Mac & Mobile shader have some properties missing in the materials and that you cannot tweak the grass layers, moreover if you drag and drop a Mac & Mobile material on a simple geometry this is what you'll get:


And it's because you need a custom script to make it work properly on Metal rendering devices, if you take a look at the 02GrassSetupMacMobile prefab:


"BF_MeshExtrusion.cs" script is the main difference between the normal shaders and this one, it will create extruded layers of an original mesh and output it in the mesh filter property of the asset in editmode and realtime.

It is recommended to not go beyond 17 number of stacks as it may reduce performance.

There is a full Mac & Mobile scene "02MacMobileShowcase" that I strongly recommend you to look at when building on Metal:


/!\ IMPORTANT for mac/mobile users /!\

You need all your grass meshes to have the "Read/Write" enabled in your mesh import settings, this can only be done on your side of the editor. If not enabled your modified mesh will not show up in builds.


Here is a step-by-step video on getting started with the Mac/Mobile Grass Shader:

bottom of page