iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
616 stars 210 forks source link

Investigate lack of transparency on certain mobile devices #3964

Open markschlosseratbentley opened 2 years ago

markschlosseratbentley commented 2 years ago

Certain mobile devices do not succeed in rendering with full float transparency. On those devices, transparent geometry will fail to render.

Our typical workaround for these issues can be seen here.

However, we still sometimes get reports of other chipsets suffering from this problem and have to add them one-by-one to a detection list in iTwin.js. Furthermore, even with the workaround applied, the Samsung Galaxy Note 8 (Mali-G71) still shows potentially related problems in at least one dataset.

The afflicted devices include but are not limited to:

We should investigate this problem to understand why it happens and if we can fix it using some other approach than the workaround.

Of potentially related interest, the Mali G-71, G-72, and G-76 also have a workaround in place to disallow them from using MSAA because it can hang the devices.

EimantasMorkunas commented 2 years ago

To add - Samsung Galaxy S10e with Mali-G76 MP12 GPU did not have issues with full float transparency though did exhibit the hang with MSAA enabled. Huawei P30 has Mali-G76 MP10 but both devices report just Mali-G76 so there's no way to differentiate just by renderer. Might even come down to GPU driver version.