OpenSource-Hub
M

meshoptimizer

SHA-256
8.0k stars·Developer Tools·SHA-256 checksum verified

Mesh optimization library that reduces GPU rendering cost. Provides vertex cache, overdraw, and vertex fetch optimization. Open-source (MIT).

Smart Download

Download Download Version

v1.2 · 1.7 MB

Makes 3D meshes smaller and faster to render; a free, lightweight alternative to Simplygon.

Core Features

  • Vertex cache optimization to increase GPU post-transform cache hit rate
  • Overdraw optimization to reduce pixel shader load
  • Vertex fetch optimization for efficient memory access
  • Index and vertex quantization to shrink mesh size
  • Companion gltfpack for automatic glTF optimization

What It Can't Do

  • Always deduplicate vertices first using meshopt_generateVertexRemap before optimization
  • Apply optimizations in the specified order (indexing → vertex cache → overdraw → vertex fetch) for best results
  • Overdraw optimization may not benefit tile-based deferred renderers (PowerVR, Apple); test before enabling

Use Cases

  • Optimizing static meshes and characters in game engines
  • 3D content pipeline (model export, glTF processing)
  • Real-time rendering applications (VR/AR, digital twins)

Detailed Introduction

Meshoptimizer is a C/C++ library that optimizes triangle meshes for GPU rendering performance. It provides a set of algorithms to reduce mesh size, improve vertex cache utilization, minimize overdraw, and optimize vertex fetch. Unlike commercial solutions (e.g., Simplygon), it is MIT-licensed, open-source, and highly lightweight—perfect for game engines, real-time applications, and content pipelines. The library also includes companion tools like gltfpack for glTF asset optimization and clusterlod.h for continuous LOD generation.

Tags

meshoptimization3drenderinggpugltf

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Open the downloaded dmg file, then drag the app to Applications

3

Clone the repository or download the source archive

4

Add the source files from src/ directory to your build system

5

Include meshoptimizer.h and call the desired optimization functions (e.g., meshopt_optimizeVertexCache)

Install Guide
  1. Clone the repository or download the source archive
  2. Add the source files from src/ directory to your build system
  3. Include meshoptimizer.h and call the desired optimization functions (e.g., meshopt_optimizeVertexCache)
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

52e0c061d8b42f1c6bd8fe1cbc1e26a9da579ad5a4f5dd30a8ee0d599062f6c4

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

If installed via package manager (vcpkg, Conan), remove the package using the manager's command. If sources were added manually, delete the files and remove the include from your project.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-07-11T05:06:46Z
GitHub RepositoryOfficial Website

Similar Projects