Skip to main content
Inspiring
August 21, 2016
Solved

Why does Grass in Unity slow down the FPS , any workaround?

  • August 21, 2016
  • 4 replies
  • 7889 views
The basic terrain grass of Unity makes the framerate go down considerably. I discovered that. at first i thought it was the speed trees but no it wasn't. I deleted the grass and the framerate came back to normal. Well who knows if the trees too. but the grass definintely . Is there a workaround? or should i just not use grass?
This topic has been closed for replies.
Best answer by vrdaveb
Try changing the detail resolution and the detail resolution per patch. In general, Rift tends to be texture bandwidth bound, so heavy overdraw with alpha cutouts and extra lookups are likely to create problems (as well as add draw calls, utilizing the CPU more). If you're going for dense grass, you may be able to do better with opaque grass and a DX11 instancing approach. I haven't tried it, but this grass package seems to be working well for some people.

4 replies

vrdavebAnswer
Inspiring
August 21, 2016
Try changing the detail resolution and the detail resolution per patch. In general, Rift tends to be texture bandwidth bound, so heavy overdraw with alpha cutouts and extra lookups are likely to create problems (as well as add draw calls, utilizing the CPU more). If you're going for dense grass, you may be able to do better with opaque grass and a DX11 instancing approach. I haven't tried it, but this grass package seems to be working well for some people.
Inspiring
August 21, 2016
Thanks. i'll give it a  try
Inspiring
August 21, 2016
Ok i bought that asset and it was slower framerate than Unity's own grass. Any tips on why it's so slow?
It says to disabled cast shadows i did, and it still ugly framerate
Inspiring
August 21, 2016
Try varying the settings I mentioned for the standard terrain or, in the DX11 grass package, vary smoothing, LOD behavior, density, type, and lighting mode. Keep an eye on the GPU profiler to see what helps.