Skip to content

R and B color channels are swapped in NetImGui #45

@Sixze

Description

@Sixze

It looks like the R and B color channels are swapped, but I can't figure out why. Perhaps the client is sending them in the wrong order, or the server is somehow swapping them, or there is something else.

I am using the latest dev branch of this plugin and the NetImGui Server provided by it. Both the client and server were tested locally on the same PC.

For the sake of science, I modified the ImGui::ColorConvertFloat4ToU32() function to swap the R and G channels. This fixed the issue on the server, but as expected, now it's a client problem :)

The first screenshot shows how the colors should look, and the second shows how the NetImGui Server displays them.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions