aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
AgeCommit message (Collapse)Author
2022-06-30Force fog underwater even if fog is disabledmakamys
2022-06-30Implement exponential fogmakamys
2022-06-30Fix meshes not disappearing properly when emptied of blocksmakamys
2022-06-30Make fog occlusion usable without fogmakamys
For that extra performance
2022-06-30Add fog occlusionmakamys
Reduced mesh count from 2529 to 2185 on Normal render distance in one scene
2022-06-30Clean up eye coordinate variablesmakamys
2022-06-30Take camera transform into account when culling facesmakamys
Fixes incorrect culling in third person (#4)
2022-06-30Integrate properly with MC's render pass systemmakamys
Fixes underwater entities being invisible
2022-06-27Fix crash when joining a servermakamys
2022-06-27Improve F3 overlay: indicate if renderer is disabled, add colormakamys
2022-06-26Re-enable renderer in Nethermakamys
Oops. This was a remnant from LODMod.
2022-06-26Fix NPE when travelling between Nether and Overworldmakamys
2022-06-25Gotta rename the stuffmakamys
2022-06-25Fix indentationmakamys
2022-06-25Remove more unused LOD stuffmakamys
2022-06-25Add debug keybind to speed up renderer update ratemakamys
2022-06-25Remove more LOD stuffmakamys
2022-06-25Clean up in ChunkMeshmakamys
2022-06-25DESTROOOOYmakamys
Delete unused LOD stuff. I can always restore it from Git history if I need it later.
2022-06-24Optimize some stuff in the CPU worldmakamys
Increases FPS from 550 to 600 when rendering 0 meshes. (which means, overhead has been reduced)
2022-06-24Make sorting goodermakamys
2022-06-24Add keybind for reloading renderersmakamys
2022-06-24Leave alpha out of the fragment shader calculations in pass 1makamys
Improves FPS from 400 to 420 in savanna
2022-06-23Add debug key shortcut to dump texture atlasmakamys
2022-06-23Make short UV more accuratemakamys
2022-06-23Make UV shortification disableablemakamys
2022-06-23Store UV as shortmakamys
Increases framerate a lil bit.
2022-06-23Don't store megaquad info if chunk simplification is disabledmakamys
Reduces memory usage by a bit. Doesn't seem to affect FPS.
2022-06-23Reimplement face culling in a more lightweight waymakamys
| Test | Meshes rendered | Quads rendered | FPS (854x480) | FPS (1920x1080) | -------------------------------------------------------------------------------------- | No culling | 1159 | 601k | 580 | 510 | | Culling (old) | 3066 | 298k | 450 | 450 | | Culling (new) | 1679 | 298k | 530 | 530 |
2022-06-23Move index buffer population to the Mesh classmakamys
2022-06-23Remove CullableMeshCollectionmakamys
2022-06-22Make GC lazy when the buffer is barely fragmentedmakamys
I'm not sure how much this improves performance.
2022-06-22Fix renderer not getting destroyed properlymakamys
2022-06-22Shut upmakamys
2022-06-22Unload regions when they are empty, not when they are "far" awaymakamys
2022-06-22Fix memory leakmakamys
Meshes wouldn't get unloaded properly if they were never sent to the GPU, or if they are transparent.
2022-06-22Increase GC rate if the remaining free space is lowmakamys
Fixes buffer getting full when FPS limit is set to 30
2022-06-22Use preprocessor macros in shadermakamys
Increases FPS from 300 to 340
2022-06-21Tweak quad count debug textmakamys
2022-06-21Disable unused lod stuff that was wasting a bunch of resourcesmakamys
2022-06-21Try to optimize the cullingmakamys
2022-06-21Actually implement face cullingmakamys
2022-06-20Rewrite to use CullableMeshCollections in place of ChunkMeshesmakamys
2022-06-20Clean up NeoRenderer#rendermakamys
2022-06-19Display number of rendered quadsmakamys
2022-06-19Merge foggy and fogless fragment shadermakamys
2022-06-19Render quads instead of trianglesmakamys
So apparently, glDrawArrays has a secret undocumented feature that lets you draw quads. This increases my framerate by 50% on my integrated GPU, so you bet I'm going to make use of it. On my dedicated GPU there's no significant framerate difference. For the record, using EBOs didn't improve performance on the integrated GPU.
2022-06-19Use wildcard static imports for GL things againmakamys
Eclipse's "organize imports" turned my wildcard imports into non-wildcard ones the last time, but that was too inconvenient.
2022-06-11Improve F3 overlaymakamys
2022-06-11Disable leftover mesh saving printmakamys