Skip to content

Wrong color space being selected #74

@SaschaWillems

Description

@SaschaWillems

The code used for color space selection seems to select a different (wrong) color space, at least on my setup. This results in wrong/too dark colors in pretty much any chapters, e.g.:

Image

The function in question is this

    static vk::Format chooseSwapSurfaceFormat(const std::vector<vk::SurfaceFormatKHR>& availableFormats) {
        return (availableFormats[0].format == vk::Format::eUndefined) ? vk::Format::eB8G8R8A8Unorm : availableFormats[0].format;
    }

On my setup (Win11, NV RTX 4070), this will always select eB8G8R8A8Unorm.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions