User:TechAngel85/Sandbox3: Difference between revisions

From Step Mods | Change The Game
No edit summary
Line 1: Line 1:
[[Category:Reference]]{{PageTitle|title=Texture Upscaling|subtitle=Something cleaver|author=Step Team|forumtid=xxx}}{{TOC}}
[[Category:Reference]]{{PageTitle|title=Texture Upscaling|subtitle=A reference for upscaling Bethesda textures|author=Step Team|forumtid=xxx}}{{TOC}}
This document describes the methodology as well as general knowledge of creating the ''Tech's Enhanced Vanilla Textures'' mod.
This document describes the methodology as well as general knowledge of creating the ''Tech's Enhanced Vanilla Textures'' mod.


Line 279: Line 279:
#* Set mipmaps to '''Kaiser''' and quality '''Normal'''
#* Set mipmaps to '''Kaiser''' and quality '''Normal'''
#*: '''Production''' quality can be used, but it takes an incredible amount of CPU power. Most users can not run it without each texture taking 6+ hours to save.
#*: '''Production''' quality can be used, but it takes an incredible amount of CPU power. Most users can not run it without each texture taking 6+ hours to save.
#*: Obviously other formats can be used, and should be used if the game doesn't support BC7. However if the game does support the format, BC7 is highly recommended!


== Specific Texture Recommendations ==
== Specific Texture Recommendations ==

Revision as of 03:44, May 29, 2022

Delta c.png

Texture Upscaling

A reference for upscaling Bethesda textures

by: Step Team  | Forum Topic

This document describes the methodology as well as general knowledge of creating the Tech's Enhanced Vanilla Textures mod.

What makes TEVT different?

The majority of the upscales available have been bulk produced. This means the majority (or all) of the textures where treated equally by applying the exact same process to all textures. This works in general, however, not all textures are equal. Some may have less or more artifacting, some may have issues never corrected by Bethesda and other may require very little to no processing. Then take into account that some models work better, or more often worse, for specific types of texture vs other models. TEVT doesn't do this.

To get consistent quality and results, TEVT handles each texture individually. The texture is examined and processed according to what past results has proven the best method for the texture type. However, each step is examined and the process adjusted for texture, individually, as needed. This meant a lot of experienced was gained throughout the process of creating the mod. As the work was completed, the process was documented to create this information resource.

Setup

Complete system setup for upscaling will not be covered here. The Upscale Wiki has all the resources users will need to get set up and started.

Windows Setup: ESRGAN Installation Guide for Windows

Once setup is complete, users will need an interface for ESRGAN. It can be ran from command line, but most users will want a GUI.

Step Recommends: Cupscale
However, Image Enhancement Utility is also very good.
Take some time to get to know the interface of choice. Users should be sure they visit the settings and apply any desired changes.

After the GUI of choice is installed, models will need to be downloaded and installed. These can be found across the web using a good search query, however, the Upscale Wiki hosts a fairly large database of models with links. As always, follow safe internet practices and scan any files before use.

BC/DXT Decompression Model Reference

These models were used for removing artifacts from previous compressions. This processing inherently causes some detail loss in the range from very little up to a medium loss, depending on the model used. The images are blown up sections of textures. They show how each model handles the compression artifacts on a small section of fur on a normal map and the eye section of a diffuse map. Results will vary based on the texture content, but users can get the general sense.

General Purpose Decompression Models

These are general purpose models, which work on most textures including alpha channels, normal maps and diffuse maps.

Original
Original
Original
Original

DEDXT

Use for textures with light artifacting. This is a model for light-weight cleanup and is often used for noisy textures.

Color: nearly 1:1
Color Correction:
Detail: nearly 1:1
Detail Correction: upscale or use Smart Sharpen to remove Gaussian
DEDXT
DEDXT
DEDXT
DEDXT

BC1 Smooth

Use for textures with medium artifacting. This is a middle-ground model and is used often. It can cause a tiny, tiny tone shift, however, the shift is so small its rarely worth correcting.

Color: nearly 1:1, nearly inconceivable tone shift.
Color Correction:
Detail: smoothing / blurring / light to medium loss of detail
Detail Correction: upscale or use Smart Sharpen to remove Gaussian
BC1 Smooth
BC1 Smooth
BC1 Smooth
BC1 Smooth

Artifacts BC1 Free Alsa

Use for textures with medium to heavy artifacting. This is the strongest of these models and not used often.

Color: causes color shift in the reds
Color Correction: Levels > Red Channel > adjust as necessary
Detail: smoothing / blurring / medium loss of detail
Detail Correction: upscale or use Smart Sharpen to remove Gaussian
Artifacts BC1 Free Alsa
Artifacts BC1 Free Alsa
Artifacts BC1 Free Alsa
Artifacts BC1 Free Alsa

DXTless Source Engine 170000

Use for textures with heavy artifacting. This is the strongest of these models and is rarely used.

Color: causes color shift in the reds
Color Correction: Levels > Red Channel > adjust as necessary
Detail: smoothing / blurring / medium loss of detail
Detail Correction: upscale or use Smart Sharpen to remove Gaussian
DXTLess
DXTLess
DXTLess
DXTLess

Upscaling Model Reference

These models were used for upscaling original or cleaned textures. They are all 4x models, meaning they scale the texture to four times its original size, and produce various results. The images are blown up sections of textures. They show how each model handles the compression artifacts on a small section of bone-like, fur-like and leather-like textures.

General Purpose Upscale Models

These are general purpose models, which work on most textures including alpha channels, normal maps and diffuse maps. Results will vary depending on model used.

Original
Original

Deviance DigitalArt

A general purpose model that works well with many texture types. It's particularly good on fur/hair.

Color: causes color shift in the reds
Color Correction: Levels > Red Channel > -1 to Midtone
Detail: smoothing / blurring / light to medium noise reduction / produces lines from some noise
Detail Correction: use Smart Sharpen to remove Gaussian
Deviance DigitalArt
Deviance DigitalArt

ESRGAN Skyrim NonTiled RGB

Color: causes color shift
Color Correction: Levels > adjust as necessary
Detail: sharpening
Detail Correction:
ESRGAN Skyrim NonTiled RGB
ESRGAN Skyrim NonTiled RGB

GameAI

Color: causes color shift
Color Correction: Levels > adjust as necessary
Detail: sharpening
Detail Correction:
GameAI
GameAI

SkyrimTexV2

Color: causes color shift
Color Correction: Levels > adjust as necessary
Detail: smoothing / sharpening
Detail Correction:
SkyrimTexV2
SkyrimTexV2

Textures Skyrim Armory Alsa

This model is designed for Skyrim armors and as such, is great for most noisy and grainy textures.

Color: causes color shift in the reds
Color Correction: Levels > Red Channel > adjust as necessary
Detail: sharpening
Detail Correction: add very small amount of Gaussian blur, if needed
Textures Skyrim Armory Alsa
Textures Skyrim Armory Alsa


Alpha Channels

These models are designed for and work best on alpha channels. Results will vary depending on model used.

FireAlpha

This model is the lightest of the set and produces upscales that most closely resemble their originals; for better or worse. It's best for busy/detailed/noisy alphas.

Color: 1:1
Color Correction:
Detail: nearly 1:1
Detail Correction:

Methodology

  1. Open original in PS or image editor of choice that is BC7 format capable
    • If Alpha exists, choose to load it as transparency
  2. If applicable, create a new layer from the alpha channel
  3. Exam layers to note any issues such as compression artifacts to help determine the best models to run
  4. Save Color Map and Alpha, if applicable, in a lossless format / uncompressed / RGBRGBRGB / Linear (not all these will be available, just covering basis)
    • Step recommends using PNG, lossless format
  5. Open saved images, one at a time, in ESRGAN GUI (i.e., Cupscale)
  6. If compression artifact cleanup is warranted, run desired model; else skip
    • If this was completed, it's recommended to compare against the original to verify the result is desired
    • If compression artifact cleanup was completed, open the cleaned texture in ESRGAN GUI for upscaling
  7. Run desired model for upscaling
  8. Open the upscaled Color Map and Alpha, if applicable, in PS and compare against original to verify the result is desired
  9. Complete any post-processing required (i.e., color correction, sharpening, etc.)
  10. Resize the texture to the desired dimensions
    • Look out for transparent edges as the images have have developed them by this point! If the appear, simply create to copies of the original layer and merge down.
  11. If applicable, recombine the Color Map with its Alpha.
  12. Save using Nvidia Texture Tools to DDS format using BC7 / Color Map / RGBA
    • Set mipmaps to Kaiser and quality Normal
      Production quality can be used, but it takes an incredible amount of CPU power. Most users can not run it without each texture taking 6+ hours to save.
      Obviously other formats can be used, and should be used if the game doesn't support BC7. However if the game does support the format, BC7 is highly recommended!

Specific Texture Recommendations

Noisy Textures

(creature scales/shells, some armor, some landscape, etc)

Noisy BC/DXT Model

Recommended: DEDXT
Heavily artifacted textures can use BC1 Smooth at the cost of some detail loss

Noisy Upscaling

This interpolation will limit color shifting and provide a very small about of sharpening to the result, since Deviance tends to blur a bit.

Recommended for Diffuse:
Interpolate:
  1. Skyrim Armory Alsa @ 5%
  2. Deviance DigitalArt @ 95%
Corrections:
-2 Luminosity to correct over-brightness
Recommended for Alpha Channel: Fire Alpha or GameAI