Przeglądaj źródła

update shaders basic pbr (#4225)

pull/4243/head
Anthony Carbajal 8 miesięcy temu
committed by GitHub
rodzic
commit
06aeb21429
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      examples/shaders/shaders_basic_pbr.c

+ 1
- 1
examples/shaders/shaders_basic_pbr.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz