webgl fallback
Some checks failed
CI / test-and-build (push) Successful in 20s
Build & Deploy / build (push) Successful in 15s
Build & Deploy / deploy (push) Failing after 37s

This commit is contained in:
2026-07-28 00:25:30 +02:00
parent 457a649df7
commit 3ad5cf55e3
5 changed files with 262 additions and 4 deletions

View File

@@ -83,7 +83,14 @@
align-items: center;
gap: 0.75rem;
max-width: min(90vw, 720px);
max-height: 76vh;
overflow-y: auto;
padding-bottom: 2rem;
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.15) transparent;
}
#scene-content::-webkit-scrollbar { width: 5px; }
#scene-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
#scene-title {
font-size: clamp(1.6rem, 5vw, 3rem);
margin: 0;
@@ -478,8 +485,8 @@
</div>
<div id="fallback">
<div>
<h2>WebGPU not available</h2>
<p>Open this page in a recent Chrome/Edge (or any WebGPU-enabled browser).</p>
<h2>Graphics not available</h2>
<p>Your browser doesn't support WebGPU or WebGL. Open this page in a recent Chrome, Edge, or Firefox.</p>
</div>
</div>
<script type="module" src="/src/main.ts"></script>