A downloadable asset pack

Buy Now$39.99 USD or more

This plugin implements a real-time approximation of JPEG compression artifacts using:

  1. Discrete Cosine Transform (DCT)
  2. Quantization using standard JPEG luminance matrix
  3. Inverse DCT for image reconstruction
  4. YCbCr color space conversion

I plan on adding much more customization and block sizes in the future, this is a very new project.

Since this seems to be the only actual simulation that uses Discrete Cosine Transforms I think it's a fair starting price however I may adjust this in the future.


To use the shader first install the plugin to your project, then use the CVar r.JpegCompression 1 to activate the shader.


CVars:

r.JpegCompression [0,1] Enable/Disable the shader.

r.JpegCompression.Quality [0 - 100] Quality Scalar for the compression table (all values).

r.JpegCompression.BlockSize [8,16] Currently the shader only supports 8x8 (Classic JPEG) or 16x16 but I plan to add more block sizes in the near future if this does well.

r.JpegCompression.Debug [0,1] Enable/Disable the grid/blocksize overlay.

Purchase

Buy Now$39.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $39.99 USD. You will get access to the following files:

JPEGCompressionShader-main.zip 138 MB