Jump to content

Recommended Posts

Posted

Background

I've got a lot of trees on my map, and that's fine I've devised a way of lowering the polycount and render calls my dynamically making billboardish type models that generate on map load. But I need more view distance for the high quality trees, and at the moment it's only 10 resulting in between 25-100 high quality trees at once, and you can see the switch between low and high quality trees.

The tree low/high quality switch is done by discarding pixels from the low quality mesh if they are too close, and spawning the high quality tree.

Question

Is there a way to setup my trees to be instanced, a lot of them have the same model, and instancing would definitely increase the FPS.

  • 5 weeks later...
Posted

Instancing is done by default. If you load the same model without any special parameters to the Load() function it'll be instanced. If you are placing trees in the editor by hand it'll be instanced.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...