You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any possible solution to asynchronously build the texture, such that UI doesn't get blocked?
Will write some detailed post on the solution over this problem, but it seems the block cannot be avoided in this scenario.
I tried suspend, dynamic import, etc, but none works without initial freeze on the browser's end, due to the WebGL being blocked with getProgramInfoLog.
Found some old issues that mentions disabling it with getContext().getProgramInfoLog=() => ''; , however, it won't help on this case.
Should I utilize web-worker in this case? or... is there any good references I could dig in?
Edit
There was a duplicate post on here.
And it seems to be related to the KHR_parallel_shader_compile support but closed on asyncCompile implementation PR.
The text was updated successfully, but these errors were encountered:
Hi everyone!
First of all, thank you all for this great framework. Been enjoying it ever since I found.
I have a simple question regarding the FBO and the 3.5 second long delay; which happens due to the 'getProgramInfoLog' process.
On Debian environment, the loading is significantly lower (like 200ms)
Packages
Notes
Not using Next turbo thing, just a plain Web Pack setup (followed next-three-drei template)
Example (takes some time.. like 5 seconds..)
https://codesandbox.io/p/devbox/l49qhm
Is there any possible solution to asynchronously build the texture, such that UI doesn't get blocked?
Will write some detailed post on the solution over this problem, but it seems the block cannot be avoided in this scenario.
I tried suspend, dynamic import, etc, but none works without initial freeze on the browser's end, due to the WebGL being blocked with getProgramInfoLog.
Found some old issues that mentions disabling it with
getContext().getProgramInfoLog=() => '';
, however, it won't help on this case.Should I utilize web-worker in this case? or... is there any good references I could dig in?
Edit
There was a duplicate post on here.
And it seems to be related to the KHR_parallel_shader_compile support but closed on asyncCompile implementation PR.
The text was updated successfully, but these errors were encountered: