Skip to content

Material editor displays inaccurate colors #680

@grizeldi

Description

@grizeldi

There's some weirdness going on where the color shown for color fields in material editor does not correspond to what actually ends up rendered to the screen in the material preview and in the built game, even when the shader just copy pastes the input color into the fragment color. I assume it's some sort of a sRGB vs linear color space issue.

Image

If it's not obvious enough to the naked eye, color in the material preview top left is #ffe700 and the color displayed next to the "Color" field is #ffcc00. Given that the color value that I've set corresponds to #ffcc00, this might even be an issue with the way jME passes colors into shaders/deals with gamma correction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions