Skip to content

About

FormSurface - instead of Substance 3D Painter: the 3D texture painter from the FormAI family of apps. Projection painting, fill layers, generators & baking, w/ PBR export for game engines & renderers; agents paint over MCP. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

471 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FormSurface icon: a sculpted head bust in the Form family icon style

FormSurface

3D texture painting; paint straight onto the model, layer by layer.
Projection painting, fill layers, generators and baking,
with PBR export for game engines and renderers. Local-first, no account, and agents can paint too.

version 0.69.1 Rust and wgpu TypeScript macOS, Windows, Linux License: Apache-2.0 Status: released

Download FormSurface on formai.studio · Run it from source


A soft grey plaster head bust with an orange, coral and crimson paint over the back of the hair, a magenta to violet band with thin drips across the lower face and a violet patch on the plinth corner, lit in a soft dark studio against a charcoal-navy backdrop, with the Layers tab open on the right
The FormSurface icon recreated in the app: the icon's own paint projected from the camera onto a grey plaster bust as one fill layer, lit by a soft dark studio environment. The Layers tab lists the stack.

Features · In the box · Agents · Under the hood · Download · Run from source


Paint in 3D

The brush hits the mesh in world space and writes into the UV textures, so strokes cross seams without stretching.

Layers that stay editable

Paint, fill and filter layers with masks, folders, generators and blend modes, all undoable.

Export for any engine

PBR map templates for Unreal, Unity, Godot, Blender, glTF and more, in PNG, TIFF, EXR, PSD and others.

Agent-ready

The same editor is driven by an MCP server, a JSON batch runner and a Python API.

Features

A chrome torus knot painted with red, orange and yellow layers over a sea backdrop, with the Filter Layer sliders open
A torus knot with painted layers and a filter layer, against a sea HDRI.

Filter layers and generators

Filter layers apply blur, levels, hue, posterize and more over the stack. Generators drive fills and masks from the mesh itself.
The Display tab with exposure, view transform, environment, path tracing and post effects beside a painted bust in a dark studio
The Display tab: view transform, HDR environment, path tracer and post effects.

Lit like the final render

Judge the paint under an HDR environment, with ACES, AgX or OpenColorIO view transforms and an optional path tracer.
The Export tab with template, format, bit depth and padding settings beside a painted bust in a dark studio
The Export tab, with the Python panel above it.

Export templates

Pick an engine template or build your own from any source per channel, then write one set of maps per texture set.

Texture sets, UDIM and baking

One texture set per material, split per UDIM tile, each with its own layers and undo. Bake ambient occlusion, curvature and thickness from the mesh, or normals and IDs from a high-poly model.

Everything in the box

  • Brush and tools: Paint · Eraser · Polygon fill · Clone · Path · Mirror and radial symmetry · Stencil · Quick mask · Lasso fill · 2D UV view
  • Layers and materials: Paint, fill and filter layers · Folders · Masks and mask effects · Generators · Intelligent materials and masks · Layer instances
  • Formats: opens glTF, GLB, OBJ, FBX, USD, PLY, Collada (meshes need UVs) · saves PNG, TIFF, EXR, HDR, JPEG, PSD
  • Home and projects: Home with recent projects and their previews · seven starting templates · a project library with duplicate, Trash and restore · projects keep their mesh

The interface is available in English and 25 more languages, and every command is in one registry shared by the menus, the palette and the keyboard. In the desktop app on macOS the same menus sit in the native menu bar.

Built for agents

An MCP server with 68 formsurface_* tools drives the editor you have open; a JSON batch runner and a Python API reach the same tools.

./formsurface batch job.json                 # run a list of tool calls against the linked editor
./formsurface batch --headless job.json      # start the service, editor and a windowless browser, run, stop
./formsurface script job.py                  # Python with the formsurface_api package importable
./formsurface mcp                            # MCP server on stdio for Claude Code and other clients

.mcp.json, .codex/config.toml and .cursor/mcp.json are already wired in this repo, and the skills live in .claude/skills and .agents/skills. Press Agent link in the editor to let agents in; it is off by default. See AGENTS.md and CLAUDE.md.

The agent dock (Agent, Terminal, or Ctrl+J; Cmd+J on a Mac) holds a shell, Chat and tabs that run the real Claude Code, Codex, Cursor and Antigravity programs installed on your computer, each already connected to FormSurface's MCP server with a token that ends when its tab closes. Opening one of them turns Agent link on. A program that is not installed shows its install line. The dock sits at the bottom of the window or in a column at its right.

./formsurface agents install --dry-run       # say what registering the MCP server would change
./formsurface agents install                 # register it with Claude Code, Codex, Cursor and Antigravity
./formsurface agents sync                    # mirror .claude/skills into .agents/skills, write agents/manifest.json
./formsurface agents check                   # check the skills, the MCP configs, the manifest and the dock module

install keeps every other entry in each program's settings, changes nothing on a second run and leaves alone a formsurface server it did not write.

Under the hood

  • GPU engine in Rust: wgpu on WebGPU in the browser, with a WebGL 2 fallback; painting and compositing stay on the GPU.
  • Editor in TypeScript: Vite, with three.js used only for its file loaders.
  • Service in Python: FastAPI saves projects and maps, runs OpenColorIO, and hosts terminals and the agent programs (Claude Code, Codex, Cursor, Antigravity).
  • Tested: pytest suites for the service, MCP bridge, versions and release profiles, plus window tests for the editor.

Download

Platform Download Release
macOS Download FormSurface for macOS FormSurface releases on FormCompiler
Windows Download FormSurface for Windows FormSurface releases on FormCompiler
Linux Download FormSurface for Linux FormSurface releases on FormCompiler

All FormSurface builds are compiled and released from FormCompiler; this repo holds the source.

Run it from source

Prefer it in your browser, or want to contribute? Run the web UI straight from this repo. Requires: Rust (rustup), Node 22.12+, Python 3.12+, and a browser with WebGPU (Chrome, Edge, Safari 26, Firefox on Windows or macOS) or WebGL 2.

git clone git@github.com:nodemode-dev/formsurface.git
cd formsurface
./formsurface install     # wasm target, wasm-bindgen, backend venv, npm packages, engine build
./formsurface             # backend and editor; editor at http://localhost:5176

./formsurface desktop dev opens the desktop window instead, after ./formsurface install-desktop.

On Windows run formsurface_oc_install.bat, then formsurface.bat. The editor is at http://localhost:5176 and the service at http://127.0.0.1:8766; FORMSURFACE_DATA moves the workspace folder (meshes, images, environments, exports).

Important

Status: released. FormSurface is built and bundled for macOS, Windows and Linux and has been tested on all three. Coverage against its reference painter is tracked in docs/PARITY.md; a few capabilities are partial. Contributing: branch from main, keep changes to source here, and leave packaging and releases to formcompiler. See CONTRIBUTING.md, .docs/BRANCHING.md and CLAUDE.md.

Repository map: native/ (Rust engine), frontend/ (editor), backend/ (service), mcp/ (MCP, batch and Python API), src-tauri/ (desktop shell). Docs: docs/PARITY.md, .docs/wiki, CHANGELOG.md · Agents: CLAUDE.md, AGENTS.md



Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

FormSurface is licensed under the Apache License 2.0 (LICENSE, SPDX Apache-2.0). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICE (what each component is and why) and THIRD-PARTY-NOTICES.txt (their full licence texts).

Screenshot content: the bust is the model the FormSurface icon is made from; the studio lighting and backdrop are a generated environment made for these shots, and the sea backdrop of the torus knot shot is a CC0 HDRI from Poly Haven. Adobe, Substance 3D Painter and Photoshop are trademarks of Adobe, named only for compatibility; FormSurface is not affiliated with or endorsed by Adobe.

About

FormSurface - instead of Substance 3D Painter: the 3D texture painter from the FormAI family of apps. Projection painting, fill layers, generators & baking, w/ PBR export for game engines & renderers; agents paint over MCP. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages