修改背景暗,改为非srgb模式。
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user