Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Therighthon

Leaf Culling

8 posts in this topic

One of the largest problems I have encountered while playing TFC is the immense amount of lag that I experience near forests. From my amateur observations, I have come to the conclusion that the lag is primarily caused by the leaf blocks not culling with one another, thus causing every single side of every single leaf block to render needlessly. While I appreciate that this feature does serve a purpose: Not only does it add depth to forests, it also makes it possible for people to see leaf blocks normally even when they are walking through them, the lag is never-the-less a problem. I propose that leaves be made to cull their non-exposed sides with each other so as to reduce lag, or to make this an option in video settings. I am not entirely sure how to solve the problem of rendering leaves while you are walking through them. Perhaps you could apply an effect to players with their heads in leaves similar to how being in water applies a blue overlay to the player's screen.

1

Share this post


Link to post
Share on other sites

What version of forge are you using? Have you tried installing fastcraft? Have you tried setting the graphics to fast instead of fancy, or installing the most recent version of Optifine and setting just the leaves to fast graphics?

 

While you are correct in that this rendering does require more resources than if it didn't happen, the difference on most player's machines is negligible, and not worth the effort to implement a change.

0

Share this post


Link to post
Share on other sites

The acacia forest, in particular, brings down my geforce 980 to its knees. Looks aestetic, but not good for performance even with all the optimisations and fastcraft.

0

Share this post


Link to post
Share on other sites

This. This has nearly always been a problem for me ever since the acacia forests came into the game. Yes. Just Yes. Please, bring this to their attention. It has been one of the largest performance hits for my game, and I have a pretty beefy system, but still not a super high performance rig. The leaf culling feature would make the leaves look less aesthetic, but would significantly improve framerate in forests. It could even be made to only toggle when x # of leaves are present, to balance out performance.If anything else, please at least make it an option. And definitely consider the possibility of having the overlay when walking through leaves. That would be so cool

0

Share this post


Link to post
Share on other sites

I'm surprised people have so many issues. I run a nearly 4 year old, nearly base model (only beefed RAM to 20gb, which doesn't matter for MC performance) and I've never had an issue with this. I'm surprised since I'm constantly told how crap macs are for MC. Especially modded MC.

I was also under the impression the render mechanics were a vanilla issue and that fast graphics negated most of this. Also any fix would require major rewrite of the render system.

0

Share this post


Link to post
Share on other sites

The reason leaves don't "back-face cull" is because they are transparent. Any mode that changes that will change the performance significantly.

0

Share this post


Link to post
Share on other sites

The reason leaves don't "back-face cull" is because they are transparent. Any mode that changes that will change the performance significantly.

 

What in the world are you talking about? Leaves in TFC, even though they are transparent, do render all of the faces because players can walk through them.

0

Share this post


Link to post
Share on other sites

This sort of is an issue worth nothing though, my rig has two gtx 980s and my fps plummets when I encounter the dense forests. Even with fastcraft running the users on my server have difficulties navigating due to the forests causing killer lag.

0

Share this post


Link to post
Share on other sites