From 2f966531a7e5cd7a7952cd8a18a12874a57e8654 Mon Sep 17 00:00:00 2001 From: Artur Mustafin Date: Wed, 30 Dec 2020 23:05:55 +0300 Subject: [PATCH] added missing constants (#1493) Co-authored-by: funcelot --- examples/models/models_material_pbr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index fc447dbbc..0104d3922 100644 --- a/examples/models/models_material_pbr.c +++ b/examples/models/models_material_pbr.c @@ -24,6 +24,8 @@ #define IRRADIANCE_SIZE 32 // Irradiance texture size #define PREFILTERED_SIZE 256 // Prefiltered HDR environment texture size #define BRDF_SIZE 512 // BRDF LUT texture size +#define LIGHT_DISTANCE 1000.0f +#define LIGHT_HEIGHT 1.0f // PBR material loading static Material LoadMaterialPBR(Color albedo, float metalness, float roughness);