Noise on rgb channel of videoTexture with alpha

PG: https://playground.babylonjs.com/#LT4WHM#31

I updated my project from 6.x to newest today and find there is something wrong with videoTexture.


There is some noise on rgb channel, however I check the code of videoTexture, it seems no changes may affect this.

Edit: I just forgot I can switch version on PG.
After testing, in chrome, any versions with webgl2 have the same problem(It is really wired as I’m pretty sure this do work before), and webgpu works fine.
Edge have the same problem with chrome, and firefox works fine.

It seems only WebGL is affected by this issue.

probably related to optimization tricks as they consider anything with alpha 0 is not visible so garbage would not impact rendering.

You should ask the chromium team if you need this feature ?

With BJS update I also move from electron to chrome, that’s why it does work before, I’ll try to see if it’s easier to modify my code, thanks!

2 Likes