Skip to content

Lighting Engine Optimisations #218

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

Open
wants to merge 45 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4c64d29
style: Localise our libraries.
JoshPiper Jun 21, 2023
239a80d
refactor: bring in and save helper functions.
JoshPiper Jun 21, 2023
fbe345d
refactor: minor rewrite of AddHelperLocalVars
JoshPiper Jun 21, 2023
b1ebac1
refactor: Add materials and vars.
JoshPiper Jun 21, 2023
0cab92e
chore: msg
JoshPiper Jun 21, 2023
6ad2c28
refactor: Grab our convar changes.
JoshPiper Jun 21, 2023
bfadb13
refactor: more variables to move.
JoshPiper Jun 21, 2023
d283e89
feat: add variable for manual count.
JoshPiper Jun 21, 2023
28cc0cd
style: spacing.
JoshPiper Jun 21, 2023
888ff59
refactor: optimise AddLightToQueue and AddDynamicLightToQueue
JoshPiper Jun 21, 2023
10f6ab4
style: space
JoshPiper Jun 21, 2023
c443a75
refactor: remove if
JoshPiper Jun 21, 2023
35ec201
refactor: we already store the value.
JoshPiper Jun 21, 2023
021ba7a
spacing
JoshPiper Jun 21, 2023
d2d9fa9
refactor: Store rotating before we go in.
JoshPiper Jun 21, 2023
e17f83d
refactor: speed can be done in one step.
JoshPiper Jun 21, 2023
31e546f
refactor: that isn't a metafunction.
JoshPiper Jun 21, 2023
3684f9c
refactor: prevent global lookups.
JoshPiper Jun 21, 2023
f7f937e
refactor: If it's multicolor, handle the offset.
JoshPiper Jun 21, 2023
937c100
refactor: more unused if statements.
JoshPiper Jun 21, 2023
3419c43
chore: unused
JoshPiper Jun 21, 2023
31323af
refactor: we already stored this.
JoshPiper Jun 21, 2023
62ce9b4
refactor: not a metafunc.
JoshPiper Jun 21, 2023
1564044
chore: unused.
JoshPiper Jun 21, 2023
59355e5
style: that can join the others.
JoshPiper Jun 21, 2023
ea9c552
refactor: we never do anything with this until it goes visible
JoshPiper Jun 21, 2023
de0db8a
refactor: I can early break here using demorgans rule
JoshPiper Jun 21, 2023
a625ff6
style: also unused
JoshPiper Jun 21, 2023
80654aa
style: just combine those?
JoshPiper Jun 21, 2023
258662e
style: indent
JoshPiper Jun 21, 2023
4657875
refactor: stop rebuilding angles.
JoshPiper Jun 21, 2023
8072ef1
refactor: build at once.
JoshPiper Jun 21, 2023
ac07a92
chore: we. already. do. this.
JoshPiper Jun 21, 2023
3ed4fb0
refactor: Assert our safety checks at entry points, not at runtime.
JoshPiper Jun 21, 2023
adc624e
refactor: we can early return this too.
JoshPiper Jun 21, 2023
2cd4f9a
refactor: That is no longer meta.
JoshPiper Jun 21, 2023
00de3d5
refactor: we have most of that data already.
JoshPiper Jun 21, 2023
c028706
refactor: Another line we can remove.
JoshPiper Jun 21, 2023
780b9c9
refactor: we can do this in a single two level if.
JoshPiper Jun 21, 2023
261b08c
feat: Add a helper to setup meta information.
JoshPiper Jun 21, 2023
4a9b0d0
feat: Precache all our light meta data.
JoshPiper Jun 21, 2023
c725cd9
feat: same for photon.
JoshPiper Jun 21, 2023
b166b76
refactor: These are now pre-cached when loading vehicles.
JoshPiper Jun 21, 2023
d5bb298
refactor: We no longer need to prebuild these.
JoshPiper Jun 21, 2023
9bc9928
fix: More caches.
JoshPiper Jun 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading