Skip to content

Fix snapshots/rendering #9

@kitskub

Description

@kitskub

Right now, FPS is very low (compared to Client). This is caused by two things:

  1. We're generating/displaying a lot more chunks than Client.
  2. Many chunks are missing neighbors when meshing, so extra faces are generated.

2 is probably caused by the snapshot system.
We need to make sure that the order of everything is:
(Load/gen chunks -> snapshot) all chunks in visible range -> mesh

Although, we would still have to worry about what happens when we move: chunks are (should be) remeshed when a neighbor updates. However, this should not cause the chunk itself to "update."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions