Updating readme

This commit is contained in:
Rich Geldreich
2019-05-10 16:16:04 -07:00
committed by GitHub
parent fa43048152
commit 4c44f02b28

View File

@@ -137,7 +137,7 @@ Newer devices supporting BC6H/BC7: You still need to transcode to BC3. We will s
Compress with the -normal_map flag, which disables a lot of stuff that has interfered with normal maps in the past. Also compress with -slower, which creates the highest quality codebooks.
Use 2 component XY normal maps encoded into the RG channels, where the Z component is computed in the shader after fetching). Put X in color, and Y in alpha. The command line tool and encoder class support the option "-seperate_rg_to_color_alpha" that helps with this.
Use 2 component XY normal maps encoded into the RG channels (where the Z component is computed in the shader after fetching). Put X in color, and Y in alpha. The command line tool and encoder class support the option "-seperate_rg_to_color_alpha" that helps with this.
ETC1 only devices/API's: Transcode to two ETC1 textures and sample them in a shader. You can either use one ETC1 texture that's twice as high, or two separate ETC1 textures. The transcoder supports transcoding alpha slices to any color output format using a special flag: `basist::basisu_transcoder::cDecodeFlagsTranscodeAlphaDataToOpaqueFormats`. This will look good because each channel gets its own endpoints and selectors.