adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!

Home Page:https://jsmastery.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

White screen on some models.

OtaraAlex opened this issue · comments

Upon deployment to Vercel, the hero section and some balls load on my pc but turn white on my mobile device. A senior developer has adviced me to try caching and reducing redirects.
I'd appreciate if someone guides me on how to go about it.

@OtaraAlex This error is related to the WebGL contexts, which are used to render 2D and 3D graphics in a web browser.

Each WebGL context consumes memory and GPU resources. There's a limit to how many WebGL contexts you can have at the same time, and when you exceed this limit, the browser starts to drop the oldest ones.

I assume you have the white screen only on the first context such as the "computers" canvas. Try to remove some context items such as your "balls". At least it worked for me. Good luck