From 7c362370488d740ec89cbdd0803b85ee8336711e Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 3 Jul 2018 23:14:24 +0200 Subject: [PATCH] Example: Don't load texture removed from source tree Fixes: c3b948b1 ("Replaced skybox HDR image") --- examples/models/models_material_pbr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index d50ef3daf..a4a10d60b 100644 --- a/examples/models/models_material_pbr.c +++ b/examples/models/models_material_pbr.c @@ -152,7 +152,7 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness) SetShaderValuei(shdrIrradiance, GetShaderLocation(shdrIrradiance, "environmentMap"), (int[1]){ 0 }, 1); SetShaderValuei(shdrPrefilter, GetShaderLocation(shdrPrefilter, "environmentMap"), (int[1]){ 0 }, 1); - Texture2D texHDR = LoadTexture("resources/pinetree.hdr"); + Texture2D texHDR = LoadTexture("resources/dresden_square.hdr"); Texture2D cubemap = GenTextureCubemap(shdrCubemap, texHDR, CUBEMAP_SIZE); mat.maps[MAP_IRRADIANCE].texture = GenTextureIrradiance(shdrIrradiance, cubemap, IRRADIANCE_SIZE); mat.maps[MAP_PREFILTER].texture = GenTexturePrefilter(shdrPrefilter, cubemap, PREFILTERED_SIZE); @@ -193,4 +193,4 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness) mat.maps[MAP_HEIGHT].value = 0.5f; return mat; -} \ No newline at end of file +}