repro.zip (8.5 KB)
Steps to reproduce:
- Install dependencies
- Debug the “Babylon.js scene” testcase
- In the test browser window console, set the material alpha like this:
scene.getMaterialByName(“alphaMat”).alpha = 0.6
- Mark the material as dirty to see the change:
scene.getMaterialByName(“alphaMat”).markDirty()
What is confusing is that step 4 isn’t necessary when you do it in a normal Chrome browser (or even when you open a new window in the same Chromium instance playwright is controlling). Why is there a difference?