Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework the outline library and fix the outstanding issues with it (#1628
) Its finally here, the rework of the outline library which started because of #1411 Ive spent quite some time on this trying over 50 different approaches, running into various setbacks each time. Some of them got solved: Facepunch/garrysmod-issues#5744 And some didnt: Facepunch/garrysmod-requests#2308 But this is what i consider the best thats possible in gmod today in respect to functionality and performance. This rework includes(i may have forgotten some, its been a while): - A switch to using the zbuffer instead of line of sight checking every single entity - Outline thickness option - Multiple render types for outlines - More performant drawing - Drawing not breaking when scopes are used in weapon addons - Full documentation - Fixed outlines being thinner on one side than the other The comments in the code explain a lot so i hope those answer most questions. --------- Co-authored-by: Tim Goll <[email protected]> Co-authored-by: Histalek <[email protected]>
- Loading branch information