Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise the LowPoly Renderer #9

Open
mario-deluna opened this issue Jan 31, 2023 · 0 comments
Open

Optimise the LowPoly Renderer #9

mario-deluna opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mario-deluna
Copy link
Member

mario-deluna commented Jan 31, 2023

The current implementation is really just for testing and getting something on the screen.

An optimised system should properly sort, group and batch rendering calls whenever possible.

  • Implement static renderable as separate components.
  • Organise renderables in Quadtree or octree to implement basic culling.
  • Extract the renderables into render call like data structures
  • Sort the "renderList" entities by shader, buffer, material Z etc..
  • Batch static renderables together per sector.
  • Test if PHP bottlenecks when frustum culling dynamic entities.
@mario-deluna mario-deluna changed the title Optimise the LowPoly Renderer to properly batch Optimise the LowPoly Renderer Jan 31, 2023
@borisstock borisstock added the enhancement New feature or request label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants