Oberon Dynamics

VRAM Melta

retro console textures from image

Beta

Platform
Web (PWA)
License
GPL-3.0

Description

Description

VRAM Melta

Photos to console-era textures, by the hardware rules.

VRAM Melta turns ordinary photos into game textures in the style of the first PlayStation era: low resolution, hard pixels, a limited color palette (CLUT), hardware-style dithering and a strict video memory budget. It is not a "retro look" filter. It is an honest texture pipeline that follows the limits of the real hardware and exports the formats a console actually reads.

It runs entirely in your browser, installs as an app, works offline, and never uploads your images anywhere. It is free and open source under GPL-3.0.

Open VRAM Melta → · Source code on GitHub


The niche it fills

Low-poly 3D with wobbly, pixelated, palette-limited textures has become a style of its own: indie horror, retro shooters, game jam projects and homebrew for the original hardware. Every one of these projects needs dozens or hundreds of textures that look like they came from the same 1990s disc.

Getting there by hand is slow. You downscale each photo, reduce colors, pick a dither, fix the seams, and then do it again for the next fifty files — and the results still don't match each other, because every texture ended up with its own palette. Generic image editors don't know what a CLUT, a VRAM page or the STP bit is. The few dedicated tools that do usually keep batch processing and shared palettes behind a paid desktop version.

VRAM Melta was built around that gap: the batch is the main mode, a shared palette is a first-class feature, and both are free in the browser.


Who it's for

  • Indie developers of PS1-style games (Godot, Unity, Unreal). Drop a folder of location photos and get a consistent set of 64–128 px textures with one palette, ready for the engine.
  • 3D artists working on low-poly scenes. Make a texture and check it right away in a 3D view with console-style rendering effects.
  • Homebrew developers. Native PS1 TIM files with a correct CLUT, transparency bit and VRAM coordinates, plus a live count of how much video memory a set of textures takes.
  • Asset pack authors. Convert hundreds of images in one run, share a palette across a pack, and keep a manifest that rebuilds the exact same files later.

What makes it different

Faithful to the hardware. The order of operations, color depths and output formats follow the console, not an eyeball estimate. For PS1 profiles the palette is built from colors already reduced to 15-bit RGB555 — the way a real PS1 CLUT stores them. The PS1 dither uses the exact 4×4 table of the GPU.

Batch first. Everything you can do to one image, you can do to a hundred. Per-file overrides sit on top of shared settings, so five photos that need a different crop don't break the set.

One palette for a whole level. Master CLUT builds a single palette from the combined colors of a batch — or one palette per tag or per source folder — and maps every texture into it. All textures of a group come out with a byte-identical CLUT.

Private by design. All processing happens on your device. Images never leave it, and the app makes no requests to third-party servers. After the first visit it works with no network at all.

Reproducible. The same input and settings give the same bytes — in Chrome, Firefox, Safari or Node. Every batch writes a manifest.json with the settings and checksums of each file; running it again on the same sources rebuilds the textures byte for byte.

Free and open. No account, no subscription, no watermark, no paid tier. The source code is public under GPL-3.0-or-later.


How it works

Every image goes through one fixed pipeline. Each step is visible, can be switched off, and has its own preview:

Framing → Adjust → Seamless → Downscale → Color depth → Palette → Dithering → Transparency → Export

Change a slider and only the steps after it run again, in a background worker, so the interface stays responsive while you tune the result.


Features

Import
  • Drag and drop files, whole folders or ZIP archives; file picker; paste with Ctrl+V.
  • PNG, JPG, WebP, BMP, GIF and AVIF (where the browser supports it), with EXIF orientation applied.
  • Built-in sample photos to try the app right away.
Framing and adjustments
  • Fit, crop around a draggable focus point, or stretch; aspect ratios 1:1, 2:1, 1:2, 4:1 or free.
  • Exposure, contrast, gamma, saturation, hue and sharpening, applied before downscaling.
  • Make Seamless shifts the image by half and blends the seam, so the texture tiles.
Downscale
  • Size presets from 16 to 256 px or any custom size, with an optional power-of-two rule.
  • Box/Area (clean, hard pixels — the default), Nearest, Bilinear and Lanczos3 filters, in linear light by default.
  • Any upscaling, in the preview or on export, is always nearest-neighbor: pixels stay sharp at every zoom.
Profiles and color depth

| Profile | Colors | Storage | |---|---|---| | PS1 15-bit Direct | 32,768 | RGB555 + STP bit | | PS1 8-bit CLUT | 256 | 8-bit indices, RGB555 palette | | PS1 4-bit CLUT | 16 | 4-bit indices, RGB555 palette | | Generic | 2–256 or full color | any size |

A profile sets the limits of the other steps. Going past them gives a warning instead of a silent failure.

Palettes
  • Adaptive palettes from 2 to 256 colors, built with libimagequant — the quantizer behind ImageOptim and pngquant.
  • Built-in palettes, or import your own from .gpl (GIMP), .pal (JASC), .act (Photoshop), .hex (Lospec) and PNG swatch strips.
  • A swatch editor: recolor any index instantly without re-quantizing, lock colors so they survive every rebuild, sort by brightness, hue or frequency.
Dithering
  • PS1 4×4 — the exact ordered-dither table of the console GPU.
  • Bayer 2×2, 4×4 and 8×8, Floyd–Steinberg, Atkinson, blue noise and grain.
  • Adjustable strength and serpentine scanning for error diffusion. The app warns you when a dither pattern may show a seam on a tiling texture.
Transparency
  • Index 0 as transparent for CLUT profiles, color key with a pipette and tolerance, alpha threshold for sources that already have transparency.
  • Correct PS1 STP handling: opaque black is stored as 0x8000 so it does not turn transparent on the console.
Viewer
  • Split before/after slider, side-by-side, result only, and a 3×3 tile view to check seams.
  • Zoom up to 32× with a pixel grid, pan, and a pipette that shows the palette index, RGB888 and RGB555 of any pixel.
  • An info panel with size, profile, colors used versus available, and VRAM use.
3D preview

See the texture the way a console would draw it, on a cube, plane, cylinder, pyramid, low-poly sphere or a corridor for checking tiling. Each effect has its own switch:

  • vertex snapping with a selectable grid (the famous "wobble");
  • affine texture mapping (the warping on large polygons);
  • low internal resolution with a nearest-neighbor upscale;
  • a CRT overlay.

The 3D texture updates live as you change the 2D settings.

Batch processing
  • A queue with thumbnails, statuses, filters and multi-select.
  • Global settings with per-file overrides for size, crop, profile, palette and dithering; changed files are marked.
  • Apply a preset to selected files, reset overrides, exclude files from the run.
  • Processing runs in parallel on a pool of background workers; a failed file is reported and the rest of the batch goes on.
  • Output as a ZIP (optionally with subfolders by profile) or written straight into a folder of your choice in Chrome and Edge.
  • manifest.json with the source name, checksum and full settings of every file.
Master CLUT and VRAM budget
  • One shared palette per batch, per tag or per source folder.
  • A VRAM counter for every texture and for the whole batch: image and palette size, width in VRAM words, share of the PS1's 1 MB of video memory. A shared CLUT is counted once.
  • An optional target budget that warns you when the set no longer fits.
Export
  • PNG32, indexed PNG8 that keeps the palette order (opens as indexed in Aseprite and GIMP), JPG with MozJPEG, and native PS1 TIM with configurable VRAM coordinates for the image and the CLUT.
  • Palette files: PNG strip, .gpl, .pal, .act, .hex.
  • Nearest-neighbor upscaled copies ×2, ×4 and ×8 for previews and portfolios.
  • A file name template such as {name}_{w}x{h}_{profile}.
Workflow
  • Built-in presets (Standard 8-bit, Level set 64, Homebrew 4-bit TIM, Direct color 15-bit) and your own presets.
  • Save all settings to a JSON config file and load them on another device; older configs open in newer versions.
  • The session — settings, queue with its files, overrides, palettes, layout — survives a reload.
  • Collapsible panels and a resizable queue, so the image gets as much space as you need.
  • Full keyboard control, visible focus and labels on every control.
  • Interface in English, French, Spanish, Russian and Japanese; dark and light themes.

Under the hood

  • A static web app with no server code. Pixel work runs in Web Workers; the interface never waits for it.
  • The image core is a separate library with no browser dependencies, so the same code runs in a worker and in Node.
  • Deterministic math. The processing kernels avoid floating-point functions that differ between browser engines, and every algorithm is covered by golden tests that pin the output bytes.
  • libimagequant compiled to WebAssembly, built without threads so equal inputs give equal palettes everywhere.
  • Installable PWA. Every module — including the 3D view and the codecs — is cached for offline use; a new version waits for your consent and your session is saved before the switch.
  • Light first load: within 2 MB, with the 3D view loaded only when you open it.

Platform

  • Works in the last two versions of Chrome, Edge, Firefox and Safari on desktop.
  • Writing a batch straight into a folder needs Chrome or Edge; other browsers save the batch as a ZIP.
  • Install it from the browser as an app to work offline.
  • Nothing to install, no sign-up.

What's next

VRAM Melta is at version 0.10. The road to 1.0 includes:

  • PS2 formats (8-bit and 4-bit CLUT, TM2 export);
  • importing your own models (OBJ, glTF) into the 3D preview;
  • recording seamless turntable videos of a textured model;
  • a command-line tool that uses the same presets, configs and manifests as the web app;
  • better stability in Firefox and Safari.

Open source

VRAM Melta is free software under GPL-3.0-or-later. The code, the build, the tests and the CI are public. Contributions and bug reports are welcome on GitHub. Found a translation mistake? Write to hello@oberondynamics.com.


"PS1", "PS2" and "PSX" are used only as descriptive terms. VRAM Melta is not affiliated with or endorsed by any console manufacturer and contains none of their assets.