瀏覽代碼

update shaders basic pbr (#4225)

pull/4243/head
Anthony Carbajal 8 月之前
committed by GitHub
父節點
當前提交
06aeb21429
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      examples/shaders/shaders_basic_pbr.c

+ 1
- 1
examples/shaders/shaders_basic_pbr.c 查看文件

@ -236,7 +236,7 @@ int main()
float emissiveIntensity = 0.01f;
SetShaderValue(shader, emissiveIntensityLoc, &emissiveIntensity, SHADER_UNIFORM_FLOAT);
DrawModel(car, (Vector3){ 0.0f, 0.0f, 0.0f }, 0.005f, WHITE); // Draw car model
DrawModel(car, (Vector3){ 0.0f, 0.0f, 0.0f }, 0.25f, WHITE); // Draw car model
// Draw spheres to show the lights positions
for (int i = 0; i < MAX_LIGHTS; i++)

Loading…
取消
儲存