|
|
|
![]() |
AMD Developer Forums | ![]() |


|
Topic Title: The Compressonator: Converting to DXT1 from the command line Topic Summary: Created On: 11/03/2009 01:27 AM Status: Post and Reply |
Linear : Threading : Single : Branch |
Search Topic |
Topic Tools
|
|
|
|
|
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.
Edited: 11/03/2009 at 01:43 AM by damien27 |
|
|
|
|
|
|
|
|
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. ------------------------- The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied. |
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
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. ------------------------- The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied. |
|
|
|
|
|
|
|
|
It worked a treat. Thanks for all the help. |
|
|
|
|
FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.
| Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information |