vite-plugin-glsl
Import and inline GLSL/WGSL/Slang shader files with minification in Vite projects.
3D and graphics npm MIT
Used in agent projects
38
0.3% of 12,697 public repos built with AI coding agents
Rank in 3d and graphics
#14 of 19
by use in those projects
Downloads
138K
npm, last 7 days, vite-plugin-glsl
GitHub stars
426
last push Oct 4, 2026
How vite-plugin-glsl is used
vite-plugin-glsl is a dependency in 38 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #14 of 19 in 3d and graphics. The most used alternative there is React Three Fiber. Projects that use it most often also use Three.js (100.0%), React Three Fiber (97.4%), Vite (92.1%).
Often used with vite-plugin-glsl
| Three.js | 100.0% of vite-plugin-glsl projects · 5.5× more than average |
|---|---|
| React Three Fiber | 97.4% of vite-plugin-glsl projects · 5.2× more than average |
| Vite | 92.1% of vite-plugin-glsl projects · 4.0× more than average |
| r3f-perf | 57.9% of vite-plugin-glsl projects · 94.2× more than average |
| React | 94.7% of vite-plugin-glsl projects · 2.2× more than average |
| GSAP | 47.4% of vite-plugin-glsl projects · 10.0× more than average |
| Postprocessing | 42.1% of vite-plugin-glsl projects · 49.0× more than average |
| Leva | 34.2% of vite-plugin-glsl projects · 32.7× more than average |
Install
| Package | npm install vite-plugin-glsl |
|---|---|
| Main stacks | TypeScript / JavaScript (36), Python (2) |
| Example projects | poeti8/unknown-pleasures, whatisjery/react-fluid-distortion, Alex-DG/vite-8thwall-r3f-template |
Alternatives to vite-plugin-glsl
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| React Three Fiber npm React renderer for Three.js enabling 3D graphics with component patterns. |
2,360 (18.6%) | 6M | 32.8K | MIT |
| Three.js npm JavaScript 3D library for creating interactive 3D graphics in browsers. |
2,329 (18.3%) | 20.1M | 116K | MIT |
| maath npm Math utilities library for 3D graphics and animations in Three.js and React Three Fiber. |
176 (1.4%) | 4.6M | — | MIT |
| Leaflet npm Lightweight JavaScript library for creating mobile-friendly interactive maps. |
160 (1.3%) | 8M | 45.7K | BSD-2-Clause |
| React Leaflet npm React components for Leaflet maps enabling interactive mapping in React applications. |
121 (1.0%) | 3.7M | 5,603 | Hippocratic-2.1 |
| Postprocessing npm Post-processing effects library for Three.js rendering advanced visual effects. |
109 (0.9%) | 977K | 2,874 | Zlib |
| r3f-perf npm Performance monitoring tool for React Three Fiber applications. |
78 (0.6%) | 31.1K | 781 | MIT |
| three-stdlib npm Stand-alone collection of Three.js examples and utilities. |
78 (0.6%) | 4.3M | 861 | MIT |