|
2 | 2 |
|
3 | 3 | A shader registry for Three.js — browse, search, and add production-ready GLSL shaders to your project. Like [shadcn/ui](https://ui.shadcn.com), but for shaders: the CLI copies source files into your codebase. You own the code. |
4 | 4 |
|
5 | | -**[shaderbase.com](https://shaderbase.com)** · **[MCP server](https://mcp.shaderbase.com/mcp)** |
| 5 | +[](https://www.npmjs.com/package/@shaderbase/cli) |
| 6 | +[](https://github.com/devallibus/shaderbase/actions) |
| 7 | +[](LICENSE) |
6 | 8 |
|
7 | | -## Usage |
| 9 | +[Website](https://shaderbase.com) | [MCP Server](https://mcp.shaderbase.com) | [Contributing](CONTRIBUTING.md) |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +## Quick Start |
8 | 14 |
|
9 | 15 | ### CLI |
10 | 16 |
|
@@ -38,14 +44,24 @@ Add to your Claude config: |
38 | 44 |
|
39 | 45 | Tools: `search_shaders`, `get_shader`, `submit_shader` |
40 | 46 |
|
41 | | -## How it works |
| 47 | +## How It Works |
42 | 48 |
|
43 | 49 | 1. **Shaders live in git** — each has a `shader.json` manifest, GLSL source, and integration recipes |
44 | 50 | 2. **CI builds the registry** — static JSON deployed to CDN |
45 | 51 | 3. **Agents use MCP** — remote server with search and retrieval tools |
46 | 52 | 4. **Humans use the CLI** — `npx @shaderbase/cli add <shader> --env r3f` |
47 | 53 | 5. **Files are copied into your project** — no runtime dependency, you own the code |
48 | 54 |
|
| 55 | +## What's in the Registry |
| 56 | + |
| 57 | +The registry includes shaders across several categories: |
| 58 | + |
| 59 | +- **Surface** — gradients, noise patterns, color effects |
| 60 | +- **Geometry** — vertex displacement, morphing, particles |
| 61 | +- **Post-processing** — bloom, blur, distortion, color grading |
| 62 | + |
| 63 | +Browse the full collection at [shaderbase.com](https://shaderbase.com). |
| 64 | + |
49 | 65 | ## Development |
50 | 66 |
|
51 | 67 | ### Prerequisites |
@@ -83,7 +99,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for provenance rules and the submission c |
83 | 99 | Submissions can be made via: |
84 | 100 | - **CLI**: `npx @shaderbase/cli submit <glsl-or-url>` |
85 | 101 | - **MCP**: `submit_shader` tool |
86 | | -- **Pull request**: directly to `shaders/` |
| 102 | +- **Pull request**: directly to `shaders/` — use the [shader submission template](.github/PULL_REQUEST_TEMPLATE/shader_submission.md) |
87 | 103 |
|
88 | 104 | ## License |
89 | 105 |
|
|
0 commit comments