opkwp.blogg.se

Unity pc build what does compression method mean
Unity pc build what does compression method mean





unity pc build what does compression method mean

When you use a Texture compression format that is not supported on the target platform, the Textures are decompressed to RGBA 32 and stored in memory alongside the compressed Textures. In the description below, see the final file size of a in-game Texture of 256 by 256 pixels.

unity pc build what does compression method mean

Choosing a Texture compression format is a balance between file size and quality the higher the quality, the greater the file size. The following table shows the Texture compression format options available on each platform, and the resulting compressed file size (based on a 256px-square image). PlatformĪll supported Texture compression formats The following table shows the default formats used for each platform. Default internal Texture representation per platform To apply custom settings for each platform, use the Texture Importer to set default options, then use the Platform-specific overrides panel to override those defaults for specific platforms. Unity has certain default formats set up for each platform, but in some situations you may want to override the default and pick a different compression format for some of your Textures (for example, if you are using a Texture as a mask, with only one channel, you might choose to use the BC4 format to save space while preserving quality). However, on most platforms there are a number of different supported Texture compression formats to choose from. Only the converted Textures are included in your build your source Asset files are left in their original format, in your project’s Assets folder. The various different platforms and devices available each have their own different proprietary formats.īy default, the Unity Editor automatically converts Textures to the most appropriate format to match the build target you have selected. 3D graphics hardware requires Textures to be compressed in specialized formats which are optimised for fast Texture sampling.

unity pc build what does compression method mean

While Unity supports many common image formats as source files for importing your Textures (such as JPG, PNG, PSD and TGA), these formats are not used during realtime rendering by 3D graphics hardware such as a graphics card or mobile device.







Unity pc build what does compression method mean