-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
Design an agent-first shader editor ("Shader Playground") where AI agents are the primary code authors, with humans providing intent and feedback.
Concept
┌──────────────────────────────────────────────┐
│ shaderbase.com/playground │
├──────────────┬───────────────────────────────┤
│ Chat Panel │ Live WebGL Preview │
│ (user ↔ │ ┌─────────────────────┐ │
│ agent) │ │ Rendered Shader │ │
│ │ │ [screenshot API] │ │
│ │ └─────────────────────┘ │
│ "Make it │ │
│ more │ GLSL Editor (Monaco) │
│ organic" │ [editable by human or agent]│
│ │ │
│ │ Uniform Controls │
├──────────────┴───────────────────────────────┤
│ MCP: create | update | preview | submit │
└──────────────────────────────────────────────┘
Key Workflow
- User describes what they want (natural language or reference image)
- Agent writes the shader (using GLSL skills)
- Live preview renders instantly
- Agent gets screenshot feedback via MCP and iterates
- Result submits to ShaderBase registry with provenance
MCP Tools (new)
create_shader— start session with canvasupdate_shader— push GLSL code, get screenshot backget_preview— screenshot current renderinspect_uniform/set_uniform— live uniform controlget_errors— compilation errors with line numberssubmit_to_registry— package as ShaderBase shader
Key Differentiator
Traditional editors: human writes code, sees result.
Shader Playground: human describes intent, agent writes code, both see result.
Integration
- Same
shader.jsonmanifest schema - Recipes generated from playground sessions
- Community features shared with main shaderbase.com
- CLI
shaderbase addworks with playground-created shaders
Status
Design phase only. Implementation after skills package ships.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request