top of page

​CG Texture Upscaler and Utility

With billions of dollars poured into 3D texture creation over the decades of hisotry of computer graphics, AI presents a great opportunity to restore valuable assets. Animation studios which generate collectively close to $400 billion worldwide can leverage advances in AI to modernize their 2D assets leading to large cost savings and efficiency. 

​

The CG Texture Upscaler takes texture assets and upscales them to modernize productions while producing higher quality base color maps and improving and preserving other material maps. It also provides a convenient utility to batch-process textures with the ability to read and write from and to most CG texture formats. 

 

Download

*Please have ImageMagick installed for handling DDS images

Features

Upscale base color maps

Base color maps are the basic texture maps applied to 3D surfaces that define the "base" color of the surface pixel by pixel. 

 

The gallery below presents images before and after a 4x upscale of a base color map using the CG Texture Upscaler. 

​

The smoothening effect is the current prominent feature of the CG Texture Upscaler since it was adapted from the basic RealESRGAN model and trained on thousands of 3d textures resulting in the smoothing of textures as result of the existing pretrained RealESRGAN. This effect on upscaling works with a lot of CG textures but may not work on others.

Upscale other material maps

Other material maps include:

  • normal and height maps that direct  light or occlude geometry surfaces  from light completely

  • specular/metallic maps that determine light intensity and glossiness/roughness maps that determine the sharpness or diffusion of light

  • less relevant material maps include ambient occlusion maps that determine the hardness or softness of shadows and are less impacted by texture resolution, but could still benefit from higher texture resolutions

​

The CG Texture Upscaler handles these maps better than conventional upscaler like Topaz's Gigapixel  AI or Hitpaw's Photo Enhancer since the RGB channels of the material maps are separated from the alpha where each of the former and latter are upscaled separately. 

​

The gallery below demonstrtaes a 4x upscale of such texture maps before and after the upscale, as well as a comparison to other upscalers to demonstrate how such texture maps are preserved with the CG Texture Upscaler.

Batch processing and quality of life features

The CG Texture Upscaler can walk through directories and process images including upscaling, format conversion and edit naming in batches. Standard upscalers will normally batch process a single directory requiring custom scripting to relocate texture files giving rise to potential errors.

​

The CG Texture Upscaler allows for conversion to and from various CG texture formats including PNG, TGA, DDS, BMP, EXR and JPG and supports a number of compression algorithms and extra texture processing features such as drawing mip levels for DDS textures through the use of the versatile Image Magick tool.

​

The CG Texture Upscaler also allows you to represent your in Linear or sRGB color representations or manually override the gamma level of the image to achieve the intended upscaling result. It further allows you to read and export various color modes including RGB, RGBA, and Greyscale, as well as indexed color for the image formats that support it.

​

Finally, quality of life features include a minimalist UI design with accessibility options, the ability to filter and find image files by name or dimensions to process them, preview them on the spot, open their locations and open them for editing using their default program, keyboard shortcuts, as well as logging to know exactly where processing has gone wrong.

Automation

Command line functionality is available for upscaling pipeline automation. The CG Texture Upscaler command line interface allows you to process single directories or recursively process multiple directories, include only files with specific strings (characters/words), as well as define export device, image scale factor, format, compression, noise, export color mode and depth, and color representation of the images to be upscaled, export location and image naming. Download the CLI guide here.

Tutorial

Demo

Upcoming Developments

Greater control over your upscaling

Besides improved QoL features coming up in the official release versions (1.x.x), an important upcoming development for the CG Texture Upscaler is the separate handling of texture channels  for more tailored results.

​

While the CG Texture Upscaler is already smart enough to handle your texture maps so as to not distort the color and alpha information, version 2.0 will allow you to scale RGBA channels separately providing the choice of AI as well as other traditional upscaling algorithms. The diagram below demonstrate how this is implemented.

bottom of page