ELEMENTAL Cadmium In development

Cadmium

A 3D texture painter for game assets.

Paint the surface. Not the seams.

Paint straight onto your models, build materials from non-destructive layers and masks, bake mesh maps, and export textures ready for your engine.

What it does today

The hard parts, first.

Cadmium is built in Rust on wgpu. Painting, compositing and baking run on the GPU, through Vulkan, Direct3D 12 or Metal.

  • Seam-correct painting

    Strokes cross UV seams and UDIM tile borders without a visible join, in the 3D view or the 2D UV view. Paint, erase, projection, polygon fill, smudge, clone and blur, with stencils on every brush.

  • Non-destructive layers

    Paint and fill layers, nested groups and nine blend modes. Every layer can take a mask with its own stack of paint, fill, levels and generator effects.

  • Mesh-map baking

    Normal, world normal, position, height, ID, ambient occlusion, curvature and thickness, from a high-poly mesh or the model itself. Bakes run in the background and save with the project.

  • Generators and Smart Masks

    Edge wear, dirt, scratches, cracks, noise and gradients, placed from the mesh’s shape. Filter them with levels, curves, blur and warp.

  • Up to 8K, light on memory

    Texture Sets up to 8192 × 8192. Paint is stored on the GPU in small tiles, so only painted areas use memory, and undo is instant.

  • Export for your engine

    Presets for Unreal Engine (packed occlusion, roughness and metallic), Unity Built-in, URP and HDRP, and glTF, or your own. PNG, TGA or TIFF at 8 or 16 bits.

From mesh to engine

Four steps, one project file.

  1. ImportA glTF or OBJ mesh, including UDIM layouts.
  2. BakeMesh maps for the generators to read.
  3. PaintLayers, masks and Smart Materials.
  4. ExportTextures packed the way your engine wants them.

Projects autosave, and recover after a crash.

Scripting

Texture a whole folder while you sleep.

A Python package drives a headless Cadmium: open meshes, insert Smart Materials, bake and export, with no window. Batch a folder of props in one script.

batch.py
import cadmium

with cadmium.Cadmium() as cd:
    cd.open("crate.glb", resolution=2048)
    cd.insert_smart_material("Rusty Iron")
    cd.bake()
    cd.export("out/textures", preset="Unreal Engine (packed)")
    cd.save("crate.cdproj")

Plugins

Extend Cadmium in Magnesium

Cadmium will run plugins written in Magnesium, the embeddable scripting language from the same ELEMENTAL line.

Outside · Python

Pipelines and batch jobs. A headless Cadmium answers commands: open a mesh, insert a material, bake, export.

Inside · Magnesium

Tools, panels and hooks that run in the painter itself, against your open project.

What a plugin will do

  • Add to the app New tools, panels, importers and exporters.
  • React to what happens project openedmap bakedlayer changedexported
  • Build generators and filters Out of Cadmium’s GPU nodes. The per-texel work stays on the GPU; the plugin describes what to compute.
  • Ship as compiled bytecode A plugin is a package of Magnesium .mgc files, loaded straight from the package.

Why Magnesium

  • ~13 nsper function call, so hooks that run on every stroke stay cheap.
  • VerifiedA static verifier checks compiled bytecode before it runs.
  • SandboxedNo files, environment or outside imports unless the host allows them.
  • BoundedA deadline, cancellation from any thread, and a memory limit for every VM.
  • IsolatedEach plugin can run in a VM of its own.
  • ToolingA language server and a VS Code extension, for completion and diagnostics.

Cadmium and Magnesium are both built at QNSET, so the language grows with what Cadmium’s plugins need: calling script functions from the painter, loading plugins straight from memory, and resolving imports inside a plugin package.

Explore Magnesium

Be first to paint with it.

Cadmium is in early development, before its first preview. Join the waitlist and we’ll send you the preview when it’s ready.

Your data is never sold or used for advertising.