Validation workaround `wait-for-area-light-ltc`: area light LTC textures not part of readiness

Offen
#2,012 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@bkaradzic-microsoft arbeitet bereits daran.

Seit 03.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

Affected tests (4)

  • Area Lights - Standard Material
  • Textured - Area Lights - Standard Material
  • Textured - Area Lights - PBR
  • Area Lights - PBR

What the workaround does

Waits for the area-light LTC lookup textures before capture. Babylon.js isReadyForSubMesh only checks LTC textures when the AREALIGHTUSED define is already set, so the first ready frame can render before LTC data is loaded. Introduced in #1967.

Recommended fix

Fix in Babylon.js: check area-light LTC texture readiness whenever the scene has rectangle area lights, regardless of current defines (PBR, Standard, Node and OpenPBR materials). No upstream PR exists yet. Then remove the workaround.


Workaround implementations live in Apps/Playground/Scripts/validation_native.js (WORKAROUNDS map); tests opt in via the workarounds array in Apps/Playground/Scripts/config.json. See Documentation/AddingNewValidationTests.md.

Vorherrschende Sprache
C++
Sterne
931
Forks
169
Ø Merge
2 T. 17 Std.
Gemergte PRs (30 T.)
66

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus BabylonJS/BabylonNative

Alle Issues in BabylonJS/BabylonNative

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.