Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BC6H

HDR compressed color texture format.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
BC6H = 24

Remarks

BC6H format compresses RGB HDR textures to 8 bits per pixel, and is supported on DX11-class PC hardware, as well as PS4 and XBOX One.
It is a good format for compressing floating point texture data (skyboxes, reflection probes, lightmaps, emissive textures), e.g. textures that uncompressed would be in TextureFormat.RGBAHalf or TextureFormat.RGBAFloat formats. Note that BC6H does not retain the alpha channel; it only stores RGB color channels.
When loading BC6H textures on a platform that doesn't support it, the texture decompresses into TextureFormat.RGBAHalf format (64 bits per pixel) at load time.
Additional Resources: Texture2D.format, texture assets.