@@ -22,7 +22,7 @@ Fortunately the Android engineers recognised that supporting all of these textur
22
22
was not an easy task. So with the introduction of the ` .aab ` file format they added the ability to
23
23
add multiple texture format files to the package. The way the ` .aab ` works is that it is not the final
24
24
` .apk ` . The final ` .apk ` will be built from the ` .aab ` when the game is delivered to the end user device.
25
- As a result not all of the file in the ` .aab ` will make it to the device. It will filter out things like
25
+ As a result not all of the files in the ` .aab ` will make it to the device. It will filter out things like
26
26
` .so ` files for other cpu types, and yes, texture formats.
27
27
28
28
The ` .aab ` supports the following directory suffixes for texture compresison
@@ -50,7 +50,7 @@ you use when processing an image. This following table shows you how to map that
50
50
| DxtCompressed | #tcf_s3tc |
51
51
| Etc1Compressed | #tcf_etc1 |
52
52
| EtcCompressed | #tcf_etc2 |
53
- | Compressed | No Suffix |
53
+ | Compressed or Color | No Suffix |
54
54
55
55
## Adding Texture Compression Suffixes
56
56
@@ -77,7 +77,7 @@ So in the example above, the `LogoOnly_64px.png` file will be compressed using `
77
77
78
78
> !Important
79
79
> Some texture formats have specific size requirements. For example PVRTC Compressed Textures MUST be a Power of 2 and Square (e.g 1024x1024).
80
- > Many others need to be Power of 2. It is recommended that you make all your textures Power of 2
80
+ > Many others need to be Power of 2. It is recommended that you make all your textures Power of 2 just to make life easier.
81
81
82
82
83
83
## Sample ` .mgcb `
@@ -96,6 +96,8 @@ So in the example above, the `LogoOnly_64px.png` file will be compressed using `
96
96
/build:Textures/LogoOnly_64px.png; Textures#tcf_pvrtc/LogoOnly_64px
97
97
```
98
98
99
+ ## Sample ` .mgcb ` with Multiple Compression Formats
100
+
99
101
``` bash
100
102
# ----------------------------- Global Properties ----------------------------#
101
103
@@ -127,7 +129,7 @@ So in the example above, the `LogoOnly_64px.png` file will be compressed using `
127
129
/processorParam:PremultiplyAlpha=True
128
130
/processorParam:ResizeToPowerOfTwo=True
129
131
/processorParam:MakeSquare=False
130
- /processorParam:TextureFormat=PvrCompressed
132
+ /processorParam:TextureFormat=Compressed
131
133
/build:Textures/LogoOnly_64px.png
132
134
133
135
# begin Textures/LogoOnly_64px.png
0 commit comments