-
I've changed the sample library that displays the Duck model from Filament Below is a link to a sample. In Filament
Environment: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Interesting, the second link doesn't even load for me and I'm forced to kill the page. I'm on a Macbook Pro. I wonder if #6848 is related to this at all. |
Beta Was this translation helpful? Give feedback.
-
After some investigation, it appears this is due to slow shader compilation on WebGL. Shader compilation is already slow with WebGL due to a known bug with Chrome. However, after #6848, we're now pre-compiling all the variants of a single material, which exacerbates the problem. Thankfully the workaround (for now) is straightforward: #6925 |
Beta Was this translation helpful? Give feedback.
After some investigation, it appears this is due to slow shader compilation on WebGL. Shader compilation is already slow with WebGL due to a known bug with Chrome. However, after #6848, we're now pre-compiling all the variants of a single material, which exacerbates the problem.
Thankfully the workaround (for now) is straightforward: #6925