Home

Awesome

YCCA Subsampling for Unity

YCCA subsampling is a set of lossy texture compression formats inspired by ChromaPack. You can choose bpp (bits per pixel) from 12, 14 and 24. The main difference from ChromaPack is that they support alpha. Preview

Read before trying this repository!

Overview

How to use

  1. Click the menu "Window/YCgACo Editor".
  2. Select source image, and then click "Generate Y, CgACo and Material".
  3. Change format and quality, and click "Apply" if you need.

Editor1 Editor2

Dummy PNG + user data + postprocess

YCgACo Editor does not produce PNG file which contains texture data. Instead, it produces 1 pixel dummy PNG files, and meta files which contains the source image GUID and target compression format as AssetImporter.userData. The dummy PNGs are imported as actual encoded textures when they are post-processed by YCgACoPostprocessor.

Examples

TODO