TFX don't work with BC7 encoded textures

Hi All
Following this thread I am now posting this bug report summing up the issues found.

There are two problems.

  1. it seems like TFX don’t work with BC7 textures.
  2. When changing the texture format to an uncompressed format, it works, but the colors are wrong.

These issues can be fixed by changing the format and then converting the color space from sRGB to Linear.

Here is a patch that demonstrate the issues.

When using PNGs these issues are not present.

BC7-TFXBug.zip (4.3 MB)

From @bjoern in the thread:
image

1 Like

A patch demonstrating the issue with the PassThrough shader.

Bleached-Sune.7z (6.9 MB)

I also forgot number 3. changing Gamma in ConvertColorSpace does not seem to have an effect

ConvertColorSpace is a “convenience” node from the addons. It combines multiple functions (that are separate nodes in the standard TextureFX) to be able to compare the results faster. The Gamma parameter only is taken into account by GammaToLinear and LinearToGamma.

1 Like

@bjoern that makes sense

+1

image