cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

damien27
Journeyman III

The Compressonator: Converting to DXT1 from the command line

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.

 

 

0 Likes
4 Replies

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.

0 Likes

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.

 

0 Likes

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.

0 Likes

It worked a treat. Thanks for all the help.

0 Likes