瀏覽代碼

added missing constants (#1493)

Co-authored-by: funcelot <artur.mustafin@gmail.com>
pull/1496/head
Artur Mustafin 4 年之前
committed by GitHub
父節點
當前提交
2f966531a7
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      examples/models/models_material_pbr.c

+ 2
- 0
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);

Loading…
取消
儲存