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

Abierto
#2,012 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@bkaradzic-microsoft ya está trabajando en esto.

Desde el 3/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
C++
Estrellas
931
Forks
169
Merge medio
2 d 17 h
PR fusionados (30 d)
66

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BabylonJS/BabylonNative

Todos los issues de BabylonJS/BabylonNative

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.