Ver a proveniência
added missing constants (#1493)
Co-authored-by: funcelot <artur.mustafin@gmail.com>
pull/1496/head
Artur Mustafin
há 4 anos
committed by
GitHub
ascendente
cometimento
2f966531a7
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
2 adições e
0 eliminações
-
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); |
|
|
|