Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed error
  • Loading branch information
dellis1972 authored Jun 13, 2024
1 parent 8b2c3bf commit 426f327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Once you have the "basis" file you can then transform that into specific formats
by using the `-unpack` command. Providing the `-format_only` flag will produce
ONLY that format. Omitting this flag will result in ALL supported formats being
produced.
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`.
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 `12`.

```dotnetcli
basisu -unpack foo.ktx2 -no_ktx -linear -format_only 2
Expand Down

0 comments on commit 426f327

Please sign in to comment.