added missing constants (#1493)

Co-authored-by: funcelot <artur.mustafin@gmail.com>
This commit is contained in:
Artur Mustafin 2020-12-30 23:05:55 +03:00 committed by GitHub
parent 4c8bebc0d7
commit 2f966531a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@
#define IRRADIANCE_SIZE 32 // Irradiance texture size #define IRRADIANCE_SIZE 32 // Irradiance texture size
#define PREFILTERED_SIZE 256 // Prefiltered HDR environment texture size #define PREFILTERED_SIZE 256 // Prefiltered HDR environment texture size
#define BRDF_SIZE 512 // BRDF LUT texture size #define BRDF_SIZE 512 // BRDF LUT texture size
#define LIGHT_DISTANCE 1000.0f
#define LIGHT_HEIGHT 1.0f
// PBR material loading // PBR material loading
static Material LoadMaterialPBR(Color albedo, float metalness, float roughness); static Material LoadMaterialPBR(Color albedo, float metalness, float roughness);