Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
modding:editortools:texture_converter [08/05/2018 16:57]
admin [Conversion Parameters]
modding:editortools:texture_converter [10/12/2019 16:03] (current)
admin [Overview]
Line 6: Line 6:
 Here is the list of image file format that can be converted to the DDS format used by the engine: Here is the list of image file format that can be converted to the DDS format used by the engine:
  
-  * .TGA +  * .TGA (preferred image format) 
-  * .PNG+  * .PNG (preferred image format) 
 +  * .JPG 
 +  * .BMP
  
 More information about the DDS texture file format can be found [[modding:​texture_formats_guidelines|here]]. More information about the DDS texture file format can be found [[modding:​texture_formats_guidelines|here]].
 +
 +<callout type="​info"​ title="​Please Note" icon="​true">​Please note that the texture converter can only convert images to 2D textures. Cubemaps or 3D textures are not supported at the moment.</​callout>​
  
 =====Usage====== =====Usage======
Line 18: Line 22:
   * Convert all file in the specified folder.   * Convert all file in the specified folder.
  
-Once one or more file are selected with the file browser. You can set the conversion parameters.+Once one or more file are selected with the content ​browser. You can set the conversion parameters.
  
 At the bottom of the tool you can find the list of file that are being converted to textures. Here you can remove some file by clicking on the delete button of each file. At the bottom of the tool you can find the list of file that are being converted to textures. Here you can remove some file by clicking on the delete button of each file.
Line 31: Line 35:
 > //Auto Mode// > //Auto Mode//
  
-If the auto mode is enabled then the conversion parameters will be automatically set according to the file names if they are following the recommended ​[[modding:assets_naming_convention|naming convention]]. +If the auto mode is enabled then some conversion parameters will be automatically set according to the file names if they are following the [[modding:resources_naming_convention|naming convention]]. 
-//​Example://​ If a file is named "​T_MyTexture_N.tga"​ it will be considered as a normal map and converted to DXT5 xGxR format automatically. ​+//​Example://​ If a file is named "​T_MyTexture_N.tga"​ it will be considered as a normal map and converted to DXT5 xGxR format automatically. ​**This is the recommended conversion mode**. 
 + 
 +<callout type="​warning"​ title="​Warning"​ icon="​true">​The auto mode will only be available if the image file(s) name(s) begin with "​T_"​ as specified in the assets [[modding:​resources_naming_convention|naming convention]].</​callout>​
  
 > //Open Texture Editor When Finished// > //Open Texture Editor When Finished//
Line 41: Line 47:
  
 Choose between the various DDS formats that are available. You can find a description of each formats [[modding:​texture_formats_guidelines#​formats|here]]. ​ Choose between the various DDS formats that are available. You can find a description of each formats [[modding:​texture_formats_guidelines#​formats|here]]. ​
-<label type="info">Please Note</​label> It's very important to choose the right format according to how the texture will be used in the game.+<callout ​type="warning"​ title="​Important"​ icon="​true">​It'​s very important to choose the right format according to how the texture will be used in the game.</​callout>​
  
 > //Generate Mipmaps// > //Generate Mipmaps//
  
 Here you can choose if mipmaps will be generated for your texture. In most cases mipmaps are needed but textures that are used for UI typically does not need mipmaps to be generated. ​ Here you can choose if mipmaps will be generated for your texture. In most cases mipmaps are needed but textures that are used for UI typically does not need mipmaps to be generated. ​
- 
-> //Alpha Is Transparency//​ 
- 
-If enabled, the Alpha channel of the texture will be considered as transparency (used for foliage texture for example). The texture converter will then apply some special algorithms for improving the alpha rendering when the texture will be rendered on 3D models. ​ 
  
 > //Resize// > //Resize//
Line 58: Line 60:
  
 Specify the size (width and height) of the converted texture. Only visible if "​Resize"​ parameter is enabled. Specify the size (width and height) of the converted texture. Only visible if "​Resize"​ parameter is enabled.
 +
  • modding/editortools/texture_converter.1525791429.txt.gz
  • Last modified: 14/10/2018 12:13
  • (external edit)