修改背景暗,改为非srgb模式。

This commit is contained in:
xsl
2025-10-15 09:28:25 +08:00
parent 5e851505bb
commit 463b4724c9
@@ -1399,7 +1399,7 @@ bool TextureLoading::prepare(const vkb::ApplicationOptions& options)
std::vector<unsigned char> image; std::vector<unsigned char> image;
unsigned w, h; unsigned w, h;
unsigned error = lodepng::decode(image, w, h, filename, LCT_RGBA, 8); unsigned error = lodepng::decode(image, w, h, filename, LCT_RGBA, 8);
processWithVulkan(image.data(), w, h, w*4, image.size(), cam_text, true); processWithVulkan(image.data(), w, h, w*4, image.size(), cam_text, false);
#endif #endif