Skip to content

docs(lib-graphic-3d): add 3d graphics library benchmark - #455

Merged
Tchips46 merged 3 commits into
mainfrom
docs/lib-graphics-3D-benchmarks
Nov 5, 2026
Merged

Tchips46 merged 3 commits into
mainfrom
docs/lib-graphics-3D-benchmarks

Conversation

@Tchips46

@Tchips46 Tchips46 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds a benchmark of 3D libraries that render with WebGPU and fall back to WebGL, for the game and the editor, in docs/docs/lib-graphic-3d/:

  • index.mdx: method, 30 criteria in 7 categories (description and how each is measured), candidates, results table with ✅ / ⚠️ / ❌ / ❓ totals, findings.
  • three-js.mdx, babylon-js.mdx, playcanvas.mdx, luma-gl.mdx: one page per library with its verdict, integration notes for a NanoForge library, and the evidence per criterion.
  • poc.mdx: in-browser proof of concept of the two finalists (init time, FPS with 2,000 and 20,000 meshes, PNG capture, canvas moved to another document, globals left after dispose).

Result: Babylon.js leads (23 ✅), Three.js second (19 ✅). PlayCanvas (C6) and luma.gl (D2) fail the eliminatory criteria. Galacean, LayaAir, RedGPU, Orillusion and TypeGPU have no runtime WebGL fallback.

@Tchips46
Tchips46 requested a review from Exeloo as a code owner November 5, 2026 14:44
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 5, 2026
josephinecr
josephinecr previously approved these changes Nov 5, 2026

@josephinecr josephinecr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use Three Js i think

@Tchips46

Tchips46 commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

Let's go for it

@Tchips46
Tchips46 merged commit 3af1cea into main Nov 5, 2026
3 checks passed
@Tchips46
Tchips46 deleted the docs/lib-graphics-3D-benchmarks branch November 5, 2026 15:00
@iwoplaza

iwoplaza commented Nov 6, 2026

Copy link
Copy Markdown

Hi! Sorry, this came up on my radar for querying mentions of TypeGPU. TypeGPU does have a GL fallback https://docs.swmansion.com/TypeGPU/ecosystem/typegpu-gl/, albeit experimental and partial. If it's something that would fit your guys' workflow and requirements, we would be happy to extend the capability of the fallback 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants