# paulofalcao/materialmakerraymarching architecture

> Architecture diagram of the GitHub repository paulofalcao/materialmakerraymarching, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/paulofalcao/materialmakerraymarching
- Repository: https://github.com/paulofalcao/materialmakerraymarching

## Overview

MaterialMakerRayMarching is a node-library asset for building and rendering ray-marched signed-distance-field (SDF) objects in Material Maker. The documented workflow is to load the JSON library, place its render template in a workspace, add a Debug node to the output, and show or copy the generated shader for use in Shadertoy. The repository exposes the library as a single JSON asset; its internal node implementations and wiring are not shown in the supplied sources, so the graph limits internal relationships to those documented in the README.

Main entry points: [`MM_PauloFalcao_RayMarchingLib_v0_06.json`](https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json) (Ray Marching library)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Material Maker user"))
node_material_maker["Material Maker"]
node_library["Ray Marching library"]
node_render_template["Render template"]
node_debug_node["Debug node"]
node_shadertoy["Shadertoy"]

node_user -->|"loads library"| node_material_maker
node_material_maker -->|"loads asset"| node_library
node_user -->|"drags to workspace"| node_render_template
node_user -->|"adds to output"| node_debug_node
node_user -->|"shows shader"| node_material_maker
node_user -->|"copies shader"| node_shadertoy

click node_library "https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json"
click node_render_template "https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json"
click node_debug_node "https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_material_maker,node_shadertoy toneIndigo
class node_library,node_render_template,node_debug_node toneTeal
```

## Components

### Other components

- **Material Maker user**
- **Material Maker**
- [Ray Marching library](https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json): `MM_PauloFalcao_RayMarchingLib_v0_06.json`
- [Render template](https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json): `MM_PauloFalcao_RayMarchingLib_v0_06.json`
- [Debug node](https://github.com/paulofalcao/materialmakerraymarching/blob/main/MM_PauloFalcao_RayMarchingLib_v0_06.json): `MM_PauloFalcao_RayMarchingLib_v0_06.json`
- **Shadertoy**

## Connections

- Material Maker user → Material Maker: loads library (evidence: `README.md`)
- Material Maker → Ray Marching library: loads asset (evidence: `README.md`)
- Material Maker user → Render template: drags to workspace (evidence: `README.md`)
- Material Maker user → Debug node: adds to output (evidence: `README.md`)
- Material Maker user → Material Maker: shows shader (evidence: `README.md`)
- Material Maker user → Shadertoy: copies shader (evidence: `README.md`)
