Skip to content

Commit 2fe4397

Browse files
authored
Merge pull request #4 from web3dev1337/feature/editor-usability-work1
feat: rename to ShaderSmith + README with GIFs
2 parents a4aa94a + dd9f682 commit 2fe4397

10 files changed

Lines changed: 60 additions & 35 deletions

README.md

Lines changed: 59 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,71 @@
1-
# EffectTextureMaker — Enhanced Edition
1+
# ShaderSmith
22

3-
A professional WebGL procedural texture generator running entirely in your browser. Multi-layer compositing, gradient color mapping, PBR material generation, 3D preview, custom GLSL shaders, and more.
3+
Professional WebGL procedural texture generator. Multi-layer compositing, PBR map generation, 3D material preview, 52 custom GLSL shaders, and 65+ procedural effects — all running in your browser with zero dependencies.
44

5-
**[Live Demo](https://web3dev1337.github.io/effect-texture-maker/showcase.html)**
5+
**[Live Demo](https://web3dev1337.github.io/shadersmith/showcase.html)** | **[Open Editor](https://web3dev1337.github.io/shadersmith/editor.html)**
6+
7+
---
8+
9+
## Custom GLSL Shaders
10+
11+
52 hand-written fragment shaders — raymarched volumes, fractals, portals, and cosmic phenomena:
12+
13+
<p align="center">
14+
<img src="docs/media/volumetric-nebula.gif" width="160" alt="Volumetric Nebula">
15+
<img src="docs/media/black-hole.gif" width="160" alt="Black Hole">
16+
<img src="docs/media/warp-tunnel.gif" width="160" alt="Warp Tunnel">
17+
<img src="docs/media/phoenix-rebirth.gif" width="160" alt="Phoenix Rebirth">
18+
<img src="docs/media/singularity.gif" width="160" alt="Singularity">
19+
</p>
20+
<p align="center">
21+
<img src="docs/media/chain-lightning.gif" width="160" alt="Chain Lightning">
22+
<img src="docs/media/supernova.gif" width="160" alt="Supernova">
23+
<img src="docs/media/dark-ritual-portal.gif" width="160" alt="Dark Ritual Portal">
24+
</p>
25+
26+
---
627

728
## Pages
829

930
| Page | Description |
1031
|------|-------------|
11-
| [Showcase](https://web3dev1337.github.io/effect-texture-maker/showcase.html) | Guided tour through all features — live renders, 3D preview, PBR maps |
12-
| [Editor](https://web3dev1337.github.io/effect-texture-maker/editor.html) | Full texture editor with layers, gradients, PBR export, undo/redo |
13-
| [Gallery](https://web3dev1337.github.io/effect-texture-maker/gallery.html) | Live animated gallery of 70+ procedural effects |
14-
| [Material Forge](https://web3dev1337.github.io/effect-texture-maker/demos.html) | 3D material demo — textures mapped onto lit, spinning objects with bloom |
15-
| [Sprite Gallery](https://web3dev1337.github.io/effect-texture-maker/sprite-gallery.html) | 119 animated sprite sheets (100 FXGEN + 52 custom GLSL) |
16-
| [Particles](https://web3dev1337.github.io/effect-texture-maker/particles.html) | 3D particle viewport with sprite-sheet-driven effects |
17-
| [Classic Editor](https://web3dev1337.github.io/effect-texture-maker/index.html) | Original single-layer editor (preserved for compatibility) |
32+
| **[Showcase](https://web3dev1337.github.io/shadersmith/showcase.html)** | Guided tour — live renders, 3D preview, PBR maps, 7 chapters |
33+
| **[Editor](https://web3dev1337.github.io/shadersmith/editor.html)** | Full texture editor — layers, gradients, PBR export, undo/redo |
34+
| **[Gallery](https://web3dev1337.github.io/shadersmith/gallery.html)** | Live animated gallery of 70+ procedural effects |
35+
| **[Material Forge](https://web3dev1337.github.io/shadersmith/demos.html)** | 3D material demo — textures on lit spinning objects with bloom |
36+
| **[Sprite Gallery](https://web3dev1337.github.io/shadersmith/sprite-gallery.html)** | 119 animated sprite sheets (FXGEN + custom GLSL) |
37+
| **[Particles](https://web3dev1337.github.io/shadersmith/particles.html)** | 3D particle viewport with sprite-sheet effects |
38+
39+
---
1840

1941
## Features
2042

2143
### Editor
2244
- **65+ procedural effect types** — explosions, fire, plasma, voronoi, fractals, caustics, and more
2345
- **52 custom GLSL shaders** — raymarched nebulae, black holes, warp tunnels, fractals, cosmic phenomena
2446
- **Multi-layer compositing** — unlimited layers with 9 blend modes (Normal, Multiply, Screen, Overlay, etc.)
25-
- **Gradient color mapping** — multi-stop gradient editor with 5 presets, applied as a luminance remap
26-
- **PBR map generation** — auto-generates Normal, Roughness, AO, and Metallic maps from any texture
27-
- **3D material preview** — real-time preview on sphere/cube/torus knot/cylinder with environment reflections, ACES tone mapping, and shadow-casting lights
28-
- **Undo/Redo** — 50-state history with Ctrl+Z / Ctrl+Shift+Z
29-
- **Export** — PNG, JPEG, ZIP bundles with all PBR maps, resolution selector up to 2048x2048
47+
- **Gradient color mapping** — multi-stop gradient editor with 5 presets
48+
- **PBR map generation** — auto-generates Normal, Roughness, AO, and Metallic maps
49+
- **3D material preview** — real-time on sphere/cube/torus knot with environment reflections, ACES tone mapping, PCF shadows
50+
- **Undo/Redo** — 50-state history (Ctrl+Z / Ctrl+Shift+Z)
51+
- **Export** — PNG, JPEG, ZIP bundles with all PBR maps, up to 2048x2048
3052

3153
### Sprite Sheets
3254
- **119 pre-rendered sprite sheets** — 6x6 grid, 36 frames each
33-
- **100 FXGEN effects** — generated from the pixy shader library
34-
- **52 custom GLSL shaders** — hand-written fragment shaders (volumetric raymarching, fractals, physics sims)
35-
- **Game-ready** — transparent PNGs with alpha, suitable for particle systems and VFX
55+
- **Game-ready** — transparent PNGs with alpha for particle systems and VFX
56+
- **Export** — GIF and MP4 video export via Puppeteer + ffmpeg
3657

3758
### Showcase
3859
- **Dark Ritual Portal** — multi-layer composite build walkthrough
3960
- **Material Forge** — live 3D scene with PBR materials, bloom, and environment lighting
40-
- **7 chapters** — from raw effects through color balance, gradients, layers, compositing, PBR maps, to 3D preview
61+
- **7 chapters** — raw effects, color balance, gradients, layers, compositing, PBR maps, 3D preview
62+
63+
---
4164

4265
## Tech Stack
4366

4467
- **Three.js** 0.174.0 — WebGL rendering, 3D preview, PBR materials
45-
- **pixy shader library** — 65+ procedural effect fragment shaders (minified, read-only)
68+
- **pixy shader library** — 65+ procedural effect fragment shaders
4669
- **Custom GLSL** — 52 hand-written shaders bypassing pixy entirely
4770
- **lil-gui** — parameter controls
4871
- **JSZip** — ZIP export (loaded on demand)
@@ -51,25 +74,27 @@ A professional WebGL procedural texture generator running entirely in your brows
5174
## Architecture
5275

5376
```
54-
editor.html Main editor (loads src/app.js)
77+
editor.html Main editor
5578
src/
56-
app.js Main coordinator
57-
render-pipeline.js 6-pass pipeline (Base -> Polar -> ColorBalance -> Tiling -> Normal -> Copy)
58-
layer-manager.js Multi-layer CRUD, reorder, duplicate
59-
compositor.js Ping-pong render target compositor, 9 blend modes
60-
gradient-editor.js Multi-stop gradient editor
61-
pbr-generator.js Normal/Roughness/AO/Metallic pass generation
62-
preview-3d.js 3D preview with PMREM environment, ACES tone mapping, shadows
63-
history.js Undo/redo (50 snapshots)
64-
export.js PNG/JPEG/ZIP export
65-
ui/ GUI panels, layer panel, toolbar, action dock
66-
shaders/ Blend modes, gradient map, tiling, PBR shaders
67-
shader-defs.js 52 custom GLSL shader sources
79+
app.js Main coordinator
80+
render-pipeline.js 6-pass pipeline (Base > Polar > ColorBalance > Tiling > Normal > Copy)
81+
layer-manager.js Multi-layer CRUD, reorder, duplicate
82+
compositor.js Ping-pong RT compositor, 9 blend modes
83+
gradient-editor.js Multi-stop gradient editor
84+
pbr-generator.js Normal / Roughness / AO / Metallic pass generation
85+
preview-3d.js 3D preview PMREM environment, ACES tone mapping, shadows
86+
history.js Undo/redo (50 snapshots)
87+
export.js PNG / JPEG / ZIP export
88+
ui/ GUI panels, layer panel, toolbar, action dock
89+
shaders/ Blend modes, gradient map, tiling, PBR shaders
90+
shader-defs.js 52 custom GLSL shader sources
6891
```
6992

7093
## Running Locally
7194

7295
```bash
96+
git clone https://github.com/web3dev1337/shadersmith.git
97+
cd shadersmith
7398
python3 -m http.server 4444
7499
# Open http://localhost:4444/editor.html
75100
```
@@ -78,7 +103,7 @@ python3 -m http.server 4444
78103

79104
Built on [EffectTextureMaker](https://github.com/mebiusbox/EffectTextureMaker) by [mebiusbox](https://github.com/mebiusbox) (MIT License). The original tool provides the core procedural shader library (pixy) and single-layer editor.
80105

81-
This fork adds multi-layer compositing, gradient mapping, PBR generation, 3D preview, custom GLSL shaders, sprite sheet generation, the showcase, material forge, and the enhanced editor UI.
106+
ShaderSmith adds multi-layer compositing, gradient mapping, PBR generation, 3D preview, 52 custom GLSL shaders, sprite sheet generation, the showcase, material forge, and the enhanced editor UI.
82107

83108
## License
84109

docs/media/black-hole.gif

82.3 KB
Loading

docs/media/chain-lightning.gif

236 KB
Loading

docs/media/dark-ritual-portal.gif

426 KB
Loading

docs/media/phoenix-rebirth.gif

869 KB
Loading

docs/media/singularity.gif

229 KB
Loading

docs/media/supernova.gif

201 KB
Loading

docs/media/volumetric-nebula.gif

608 KB
Loading

docs/media/warp-tunnel.gif

936 KB
Loading

src/ui/top-nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function initTopNav() {
122122

123123
const ghLink = document.createElement("a");
124124
ghLink.className = "nav-credit";
125-
ghLink.href = "https://github.com/web3dev1337/effect-texture-maker";
125+
ghLink.href = "https://github.com/web3dev1337/shadersmith";
126126
ghLink.target = "_blank";
127127
ghLink.style.cssText = "color:#666;font-size:10px;margin-right:8px";
128128
ghLink.textContent = "GitHub";

0 commit comments

Comments
 (0)