When converting a texture to DXT1 format from the GUI there is a option to include a 1-bit alpha channel.
Is this feature also available from the command-line?
My current argument is +fourCC DXT1.
Originally posted by: damien27 When converting a texture to DXT1 format from the GUI there is a option to include a 1-bit alpha channel.
Is this feature also available from the command-line?
My current argument is +fourCC DXT1.
Add +alpha_threshold N where N is the alpha threshold you which to use eg. to set pixels with an alpha value less than 128 to transparent use +alpha_threshold 128.
Seth.
Thanks for the quick response. It worked great.
Is there a way to get a list of the available arguments for each plug-in?
Thanks again.
Originally posted by: damien27 Thanks for the quick response. It worked great.
Is there a way to get a list of the available arguments for each plug-in?
Thanks again.
-plugins will list the available plugins.
-h PluginName will list the available arguments for that plugin. By default you'll be using ATICompressor for DXT1 compression so -h ATICompressor is what you need.
Seth.
It worked a treat. Thanks for all the help.