41 Commits

Author SHA1 Message Date
xen-42
853e03cc99 Only unload textures once nobody is using them anymore 2025-02-13 14:54:14 -05:00
JohnCorby
c560715f9d bad grammar 2024-10-31 12:55:47 -07:00
JohnCorby
4e4d69c41a update comments 2024-10-31 12:54:18 -07:00
JohnCorby
5ea7b82a6c comment 2024-10-31 01:33:39 -07:00
JohnCorby
732e981a8b comment 2024-10-31 01:32:40 -07:00
JohnCorby
0583b22788 comment 2024-10-31 01:30:29 -07:00
JohnCorby
14ad72eef7 DONT keep it linear 2024-10-31 01:28:36 -07:00
JohnCorby
2ff4d909e6 i am stupid 2024-10-31 00:59:56 -07:00
JohnCorby
41ec0e8ecb do it on individual channels 2024-10-31 00:59:09 -07:00
JohnCorby
cf263a6609 dont invert alpha 2024-10-31 00:56:28 -07:00
JohnCorby
2b25c6b9f2 keep it linear 2024-10-31 00:34:00 -07:00
JohnCorby
90b421314b remove doc comment since name is obvious 2024-10-31 00:22:02 -07:00
JohnCorby
ea668ae28c do it simpler 2024-10-31 00:12:31 -07:00
JohnCorby
b8afb5df71 fix slide reel inverting (do gamma-to-linear before invert instead of linear-to-gamma after convert) 2024-10-31 00:12:00 -07:00
xen-42
cbffa8f5b4 Fix caches in other systems 2024-10-04 21:25:43 -04:00
xen-42
a564afcf0c Ensure inverted slide reels have the same key regardless of if they're from the cache folder or not 2024-07-14 21:04:31 -04:00
xen-42
784b1adb60 it doesnt work 2024-07-11 21:12:07 -04:00
Nick
96cebc3476 Fix atlas breaking if it had a blank slide, cache solid colour texture 2024-06-17 21:11:25 -04:00
JohnCorby
37cad651f0 dont reinsert into image cache. we want it to error there 2024-06-17 16:32:54 -07:00
JohnCorby
22b425a569 obsolete guy 2024-06-17 16:10:35 -07:00
Nick
5b830ceef1 Remove and sort usings 2024-06-14 12:27:42 -04:00
JohnCorby
de8470e595 comment all the async stuff, STOP USING LOCKS AND ATOMICS 2024-06-13 19:44:45 -07:00
Nick
31ada350b4 Cache atlas, works first loop 2024-06-13 13:07:51 -04:00
Nick
540a501b9a Cache inverted images 2024-06-13 01:13:25 -04:00
Nick
493365155f the guys 2024-06-12 22:05:49 -04:00
Nick
69fcc2b462 im fast as fuck boi 2024-06-12 22:00:11 -04:00
Nick
5cb900d772 what if coroutine 2024-06-12 21:04:41 -04:00
JohnCorby
a7c1af8357 imageutilities.invert makes images linear now to HOPEFULLY fix the brightness bug 2024-03-17 17:01:37 -07:00
Nick
5b989100cb Adjust star start and end tinting to look better 2024-03-15 16:57:57 -04:00
Noah Pilarski
aedeb80f16 curse you stalker of dreams 2024-01-01 23:55:16 -05:00
Ben C
f3fd47dfb7
Revert "ImageUtilities.cs: remove back compat thing as no released mod uses it"
This reverts commit 14c03c49b292d95714ab7f0630003f35a189f3c7.
2023-05-07 16:24:30 -04:00
Nick
1a19a7418c Create a method for getting the keys 2023-04-24 23:04:37 -04:00
JohnCorby
065dc6cfff oops 2023-04-24 19:31:07 -07:00
JohnCorby
fd197bf9bd combine 2 caches into 1 2023-04-24 19:30:09 -07:00
JohnCorby
ca0c93177f oops 2023-04-24 19:12:32 -07:00
JohnCorby
b19478d7e7 remove mods path from key 2023-04-24 19:11:00 -07:00
JohnCorby
f57ca63f71 cache generated textures 2023-04-24 18:13:25 -07:00
JohnCorby
36f50581d2 better name for ambient light cubemap 2023-04-24 17:40:11 -07:00
JohnCorby
14c03c49b2 ImageUtilities.cs: remove back compat thing as no released mod uses it 2023-04-24 14:52:56 -07:00
JohnCorby
04ccd8c883 ImageUtilities.cs: linear texture support 2023-04-20 18:56:59 -07:00
Nick
b20c59e860 MORE REARRANGE!!!!! 2023-03-25 15:15:24 -04:00