diff options
| author | Artur Mustafin <[email protected]> | 2020-12-30 23:05:55 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-30 21:05:55 +0100 |
| commit | 2f966531a7e5cd7a7952cd8a18a12874a57e8654 (patch) | |
| tree | da7bfde75a78ca2473b5591df26a64d3bed7ff6e /examples | |
| parent | 4c8bebc0d785cb9445ef8ea34a9b2d813c4a6153 (diff) | |
| download | raylib-2f966531a7e5cd7a7952cd8a18a12874a57e8654.tar.gz raylib-2f966531a7e5cd7a7952cd8a18a12874a57e8654.zip | |
added missing constants (#1493)
Co-authored-by: funcelot <[email protected]>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_material_pbr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index fc447dbb..0104d392 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); |
