diff options
| author | yum <yum.food.vr@gmail.com> | 2023-03-21 17:13:32 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-03-21 17:13:32 -0700 |
| commit | 1f15133dd985442af20d42a96fbcd0007f03bd2b (patch) | |
| tree | 15e32f494a1bab1c856f6c8561ed01e5bb436bf8 /Fonts/Bitmaps/font-0.png.meta | |
| parent | 656d7c2092545b18d981acfac000c73fb2128e4a (diff) | |
Reduce texture memory usage for English speakersv0.10.0
We used to populate 7 4k textures + 1 2k texture for all users.
Now if the user has configured `bytes_per_char=1` in the Unity
panel, we just populate a single 512x512 texture containing the
first 128 ASCII characters.
This reduces texture memory usage by 99.74%, from 134.67 MB to
340 KB.
Diffstat (limited to 'Fonts/Bitmaps/font-0.png.meta')
| -rw-r--r-- | Fonts/Bitmaps/font-0.png.meta | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Fonts/Bitmaps/font-0.png.meta b/Fonts/Bitmaps/font-0.png.meta index c0e5ef9..b70fd04 100644 --- a/Fonts/Bitmaps/font-0.png.meta +++ b/Fonts/Bitmaps/font-0.png.meta @@ -28,7 +28,7 @@ TextureImporter: cubemapConvolution: 0 seamlessCubemap: 0 textureFormat: 1 - maxTextureSize: 2048 + maxTextureSize: 4096 textureSettings: serializedVersion: 2 filterMode: 1 |
