Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No/broken R16G16B16A16 support #13

Open
musicalmushr00m opened this issue Nov 10, 2024 · 1 comment
Open

[BUG] No/broken R16G16B16A16 support #13

musicalmushr00m opened this issue Nov 10, 2024 · 1 comment
Labels
issue An issue that should be fixed.

Comments

@musicalmushr00m
Copy link

musicalmushr00m commented Nov 10, 2024

The issue

R16G16B16A16 "ColorCorrectionTextureHDR" textures are not supported in preview or export.

Reproduction steps

Steps to reproduce the behaviour:

  1. Find a R8G8B8A8 texture, for example a LUT, with hash 0018941C98370007
  2. Open it and check preview, export as, etc etc. It will preview/export correctly.

In GK preview:
image

Exported as TGA in Photoshop:
image

  1. Find a R16G16B16A16 texture, for example a LUT, with hash 000B1BC3C75B15D9
  2. Open it and check preview, export as, etc etc. It will NOT preview/export correctly.

In GK preview:
image

Exported as TGA in Photoshop:
image

Expected behaviour

R16G16B16A16 texture appears correctly when previewed or exported.

Observed behaviour

R16G16B16A16 texture appears as solid grey in editor, and only certain highlights show up in image editors.

Additional context

I believe these textures are supported properly within TonyTools directly.

@musicalmushr00m musicalmushr00m added the issue An issue that should be fixed. label Nov 10, 2024
@atampy25
Copy link
Owner

The preview is correct behaviour, the texture is entirely transparent so there is nothing to display.

The colour channels exported however do seem to be incorrect - this is a tex-rs issue (@dafitius).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue An issue that should be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants