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

Exporting RGBA preview image clips color components #645

Open
u3shit opened this issue Nov 25, 2023 · 0 comments
Open

Exporting RGBA preview image clips color components #645

u3shit opened this issue Nov 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@u3shit
Copy link

u3shit commented Nov 25, 2023

Material Maker version: 1.3

OS/device including version: Linux amd64, amdgpu and intel

Issue description:
Exporting a preview from a color (RGB) output to an EXR file correctly preserves values outside 0..1. Doing the same with an RGBA output clamps values to 0..1, even if I export to EXR, which is really annoying.

Steps to reproduce:
bug.json
Rename it to .ptex and open it. The custom nodes produce the same output, but the upper one uses Color and the lower one uses RGBA output (a=1). Right-click in Preview 2D and export the image to EXR. Open the EXR file with something that supports HDR images properly and check the values (I use gimp and it's color picker tool with info window). Only the image exported from the Color node will have negative values or values > 1.

@u3shit u3shit added the bug Something isn't working label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant