Realistic Wheat too Laggy, any Ideas While Keeping Similar Effect?

I have created 3 variants of wheat for my game, the goal is for a realistic and true effect. I was well aware that the field would be laggy, so I turned off shadows for all of the parts. Though, the issue is still fairly major.

I believe I could try meshing everything as a single union. I would like to avoid particles. I am also open to any ideas, including scripting and particles if I must.

These are the current test models for my wheat (the unioned parts were meshed poorly, definitely apart of the issue):

I would appreciate the help!

Specifics on lag:

  • When rendered any parts of the field, lag spikes occur
  • Rendering the field seems to cause a major client buff, sun rays seem to temporarily turn off while the game catches up
  • My PC is decent, issue can cause FPS to spike to 5 for multiple frames (when camera is in the field), memory goes up a crazy amount

Eventual plans:

  • Wheat has shadows (if possible), 3D
  • When you walk through the field, the wheat parts relative to player

Make it a mesh. Union it, export it, and import it as mesh. As keeping it as union wouldn’t help. And set it’s RenderFidelity to Performance. Also make a simplier version of this model and make a script that replaces the more detailed one with the less detailed when camera is far away from it.

3 Likes

Thanks for these tips! I believe that’ll work well. I’ll mark this as a solution because it will be sometime before I can get back to this. I hope it works out!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.