Geometry Shader based Rendering #126
Labels
Category: Performance
Requests, Issues and Changes targeting performance
Revive: Keep
issue has been looked at and deemed potentially helpful for revive
Topic: Architecture
Requests, Issues and Changes related to software architecture, programming patterns, etc.
Topic: Rendering
Requests, Issues and Changes related to lighting, meshes, camera, etc.
By Beglas request ill leave this here:
In order to reduce the memory footprint (esp. on the GPU) we might utilize geometry shaders to render cubes from points.
NOTE: I have no idea about the performance implications. I would like to test it but i currently have no suitable machine available
Idea:
While this approach might increase the burden on the shading units, it might significantly reduce the amount of data to send to the gpu. Worst Case improvement (for geom data) is 75% reduction (4 vertices -> 1 vertex) Best Case reduction is 85% ( 7 vertices -> 1 vertex)
EDIT:
This should ofc only be used for rendering the blocks.
EDIT 2: And since we are no longer rendering a mesh, we might sort the cubes according to textures, thus we might be able to reduce state changes
The text was updated successfully, but these errors were encountered: