Sfoglia il codice sorgente

update shaders basic pbr (#4225)

pull/4243/head
Anthony Carbajal 8 mesi fa
committed by GitHub
parent
commit
06aeb21429
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      examples/shaders/shaders_basic_pbr.c

+ 1
- 1
examples/shaders/shaders_basic_pbr.c Vedi File

@ -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++)

Caricamento…
Annulla
Salva