更改了环境贴图文件名
parent
645797f8f5
commit
107366b94d
|
@ -213,7 +213,7 @@ GLuint Renderer::IblUtils::generateCubemap(QOpenGLFunctions_4_5_Core* glFunc, GL
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
stbi_set_flip_vertically_on_load(true);
|
stbi_set_flip_vertically_on_load(true);
|
||||||
int width, height, nrComponents;
|
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;
|
unsigned int hdrTexture = 0;
|
||||||
if (data)
|
if (data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue