You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,10 @@ basisu -file foo.png -ktx2
15
15
Adding a `-uastc` might give better results for some compression types.
16
16
17
17
Once you have the "basis" file you can then transform that into specific formats
18
-
by using the `-unpack` command. PRoviding the `-format_only` flag will produce
18
+
by using the `-unpack` command. Providing the `-format_only` flag will produce
19
19
ONLY that format. Omitting this flag will result in ALL supported formats being
20
20
produced.
21
+
The values for `-format_only` are the numerical values for the [transcoder_texture_format](https://github.com/BinomialLLC/basis_universal/blob/ad9386a4a1cf2a248f7bbd45f543a7448db15267/transcoder/basisu_transcoder.h#L49). For example ATC with an Alpha channel maps to [cTFATC_RGBA](https://github.com/BinomialLLC/basis_universal/blob/ad9386a4a1cf2a248f7bbd45f543a7448db15267/transcoder/basisu_transcoder.h#L73C3-L73C14) which has a numerical value of `17`.
0 commit comments