diff options
| author | raysan5 <raysan5@gmail.com> | 2019-01-05 19:24:42 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2019-01-05 19:24:42 +0100 |
| commit | 5c614f69755623e346105d17c71697005bd2900c (patch) | |
| tree | 6223e23bcc1cb9e800ad86c1422e8a19c1fab301 /examples/models | |
| parent | a41cc08f9b30531a41921100d5a0d257053bd056 (diff) | |
| download | raylib-5c614f69755623e346105d17c71697005bd2900c.tar.gz raylib-5c614f69755623e346105d17c71697005bd2900c.zip | |
Some code tweaks
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_material_pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index a4a10d60..6885f753 100644 --- a/examples/models/models_material_pbr.c +++ b/examples/models/models_material_pbr.c @@ -156,7 +156,7 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness) 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); - mat.maps[MAP_BRDF].texture = GenTextureBRDF(shdrBRDF, cubemap, BRDF_SIZE); + mat.maps[MAP_BRDF].texture = GenTextureBRDF(shdrBRDF, BRDF_SIZE); UnloadTexture(cubemap); UnloadTexture(texHDR); |
