|
1 | 1 | # ShaderBrew — Codebase Documentation |
2 | 2 |
|
3 | | -Enhanced fork of mebiusbox's MIT-licensed WebGL procedural texture generator. Transformed from a single-effect viewer into a multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 160 animated sprite sheet effects (100 FXGEN + 52 custom GLSL + 8 composites). |
| 3 | +WebGL procedural texture generator built on mebiusbox's MIT-licensed pixy.js shader library. Multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 160 animated sprite sheet effects (100 FXGEN + 52 custom GLSL + 8 composites). |
4 | 4 |
|
5 | 5 | ## Quick Navigation |
6 | 6 |
|
7 | 7 | ``` |
8 | 8 | ENTRY POINTS: |
9 | 9 | editor.html Main editor (loads src/app.js) |
10 | | - index.html Original editor (loads fxgen.module.min.js, kept for compat) |
| 10 | + index.html Redirect to showcase.html |
11 | 11 | gallery.html Live animated gallery of 70+ effects |
12 | 12 | showcase.html Feature showcase (pipeline + custom GLSL previews) |
13 | 13 | demos.html Interactive material demos |
@@ -67,8 +67,7 @@ PRESET & LOADER: |
67 | 67 | preset-loader.js Preset bar UI + JSON/URL loading |
68 | 68 |
|
69 | 69 | LIBRARY (DO NOT MODIFY): |
70 | | - pixy.module.min.js 439KB shader library — 70+ effects, noise functions, Composer |
71 | | - fxgen.module.min.js 42KB original app (kept for index.html compat) |
| 70 | + pixy.module.min.js 439KB MIT-licensed shader library by mebiusbox — 70+ effects, noise functions, Composer |
72 | 71 |
|
73 | 72 | DATA: |
74 | 73 | presets/ 38 JSON preset files (13 custom + 25 built-in) |
@@ -197,7 +196,7 @@ Exportable individually or as ZIP bundle. |
197 | 196 |
|
198 | 197 | | Phase | Status | Description | |
199 | 198 | |-------|--------|-------------| |
200 | | -| 0 | DONE | Deobfuscated fxgen into src/ modules | |
| 199 | +| 0 | DONE | Built src/ modules using pixy.js shader API | |
201 | 200 | | 1 | DONE | Multi-layer compositing (LayerManager, 9 blend modes, Compositor) | |
202 | 201 | | 2 | DONE | Gradient map color ramp (editor + 5 presets + GLSL shader) | |
203 | 202 | | 3 | DONE | Enhanced UI layout (layer panel, toolbar, split-pane) | |
@@ -229,7 +228,6 @@ xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" node save-custo |
229 | 228 | | Component | Files | Size | |
230 | 229 | |-----------|-------|------| |
231 | 230 | | pixy.module.min.js | 1 | 439KB | |
232 | | -| fxgen.module.min.js | 1 | 42KB | |
233 | 231 | | src/ modules | 22 | ~3,800 lines | |
234 | 232 | | sprites/ | 118 | ~133MB | |
235 | 233 | | presets/ | 38 | ~200KB | |
|
0 commit comments