Skip to content

OpenEXR export … color channels shifted in generated EXR file #372

Closed
@leonard7e

Description

Material Maker version:
Version 0.97, this build:
https://github.com/RodZill4/material-maker/actions/runs/1431815396

OS/device including version:
Ubuntu Linux 20.04
GPU: RTX 2060s

Issue description:
OpenEXR generated from MaterialMaker has mismatching colors.

Testing colors, it seems that color channels got shifted like that

Alpha → Red
Red → Green
Green → Blue
Blue → Alpha

Steps to reproduce:
Just export OpenEXR from Viewport2D and check the result.

I prepared something which might be useful. Load test_colors.ptex file from there …
https://drive.google.com/file/d/1xlusZCEib_18czDcPqSpfDDlG5re3D-_/view?usp=sharing

There are float nodes for 0.0 and 1.0, which could be connected to a Combine node. Plug floats to different inputs of the combine node, and export an EXR file from the Preview2D of the Combine node.

Use Gimp (or other software which supports OpenEXR) to examine result EXR file.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions