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

Aberta
#2,012 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@bkaradzic-microsoft já está trabalhando nisso.

Desde 3/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
C++
Estrelas
931
Forks
169
Merge médio
2d 17h
PRs com merge (30d)
66

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de BabylonJS/BabylonNative

Todas as issues de BabylonJS/BabylonNative

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.