更改了环境贴图文件名

main
wuyize 2023-04-22 10:59:05 +08:00
parent 645797f8f5
commit 107366b94d
2 changed files with 1 additions and 1 deletions

View File

@ -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)
{