w23 / OpenSource

Load Source games maps as combined meshes correctly positioned relative to each other
Do What The F*ck You Want To Public License
157 stars 16 forks source link

Optimize renderer #35

Closed w23 closed 6 years ago

w23 commented 7 years ago

The entire Half-Life 2 mesh is like 5fps on AMD Radeon FURY X. This is unacceptable.

Things to try in no particular order:

w23 commented 6 years ago

https://github.com/w23/OpenSource/commit/91d54c4cbac04701fb9d70cd3851624e60016b94 improves rendering by discarding materials from far levels. Need to compute average material color to fix level popping.