From 107366b94d347939385a0ae75827a88f1968b2bf Mon Sep 17 00:00:00 2001 From: wuyize Date: Sat, 22 Apr 2023 10:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BA=86=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E8=B4=B4=E5=9B=BE=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HDRI/{clarens_midday_4k.hdr => background.hdr} | Bin .../src/Renderer/IblUtils.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename ArchitectureColoredPainting/HDRI/{clarens_midday_4k.hdr => background.hdr} (100%) diff --git a/ArchitectureColoredPainting/HDRI/clarens_midday_4k.hdr b/ArchitectureColoredPainting/HDRI/background.hdr similarity index 100% rename from ArchitectureColoredPainting/HDRI/clarens_midday_4k.hdr rename to ArchitectureColoredPainting/HDRI/background.hdr diff --git a/ArchitectureColoredPainting/src/Renderer/IblUtils.cpp b/ArchitectureColoredPainting/src/Renderer/IblUtils.cpp index ab3c879..d5d5a32 100644 --- a/ArchitectureColoredPainting/src/Renderer/IblUtils.cpp +++ b/ArchitectureColoredPainting/src/Renderer/IblUtils.cpp @@ -213,7 +213,7 @@ GLuint Renderer::IblUtils::generateCubemap(QOpenGLFunctions_4_5_Core* glFunc, GL // --------------------------------- stbi_set_flip_vertically_on_load(true); int width, height, nrComponents; - float* data = stbi_loadf("HDRI/clarens_midday_4k.hdr", &width, &height, &nrComponents, 0); + float* data = stbi_loadf("HDRI/background.hdr", &width, &height, &nrComponents, 0); unsigned int hdrTexture = 0; if (data) {