Add-on · Unity 6000.6.9f1 · Node.js 20
Unity Retro 3D Look Lite
Free PS1-style 3D for Unity 6: three materials, vertex snap, affine textures, per-vertex scene lights and a low-res 4:3 screen with dither.
Free On itch.io, no account needed · Free License: credit "Built with CodePlate" in what you ship
Serving suggestion
- Download template.zip from itch.io and unzip it where your project will live.
- Install Unity 6000.6 and Node.js 20.
- Open the folder with your agent and say something like:
This is a free PS1-style 3D material kit for Unity from CodePlate. Read Assets/RetroLook/AGENTS.md, then help me put this look on my own game. My project is in ./my-game and my level is a scene with ordinary URP materials. I want the Subtle preset as the starting point.
A PS1-style 3D kit for Unity 6 (URP and Built-in), built so your AI agent can put it on your game: three materials, a converter for your existing materials, per-vertex scene lights, fog, and a low-resolution 4:3 screen with 15-bit dither and scanlines, three presets, and a playable motel demo.
What's inside
- Three materials:
RetroLook/Lit(per-vertex light from the scene, no specular),RetroLook/Unlit, andRetroLook/Cutout(alpha scissor), plus theRetroLook/CutoutUnlitvariantConvert()picks for unshaded sources. - Your scene's lights keep working. The lit materials take the scene's real directional, point and spot lights per vertex, diffuse only, with no specular; up to sixteen are uploaded and each renderer gets the eight nearest that reach it. Ambient comes from the scene's environment.
- The PS1 quirks, on every material:
- vertex snap on a grid set from the screen height
- affine texture warp with a 0–1 blend back to perspective-correct
- per-vertex fog with a colour and start/end
- draw distance (far fragments are not drawn)
- nearest or 3-point texture filtering
- texture colour bits per channel (5 bits = the PS1's 15-bit colour)
- vertex colours
- screen-door (dithered) transparency
RetroScreen: the 3D world renders into a RenderTexture at a PS1 resolution (256x224, 320x240, 368x240, 512x240 or 640x480) and is drawn back to the window as the 4:3 picture the console television showed — so 256x224, 368x240 and 512x240 have non-square pixels, with whole-number vertical scaling and fractional horizontal sampling, letterboxed/pillarboxed. The camera renders at the display shape, so circles stay round in every mode. SetDisplayAspect = 0for square pixels instead. On top of the picture: 15-bit colour with a 4x4 ordered dither, and scanlines. UI outside the screen stays crisp.RetroLook.Convert(level)turns every Lit/Standard/Unlit/glTFast material into the matching retro material, keeping texture, colour, tiling/offset, transparency, cutout and unshaded. It returns how many it converted. A source the full edition would turn into a removed material gets the nearest kept one: alpha transparency becomes the alpha-tested cutout (its visible pixels and emission texture kept, fully transparent pixels discarded), an additive/emissive glow becomes unlit, and chrome becomes lit. An unshaded or emissive source whose texture has an alpha channel is alpha-tested as well (the motel's lamp heads and tail lights), and an emission map or emission colour becomes the kept material's colour, so the glow survives without the additive material.RetroLook.TurnOff(screen, level)/TurnOn(screen, level): the "PS1 mode" switch. Off is full window resolution with no colour cut and no effects, and the materials revert to perspective-correct, no snap, no warp, no fog and no draw distance; on restores exactly what was there.- Three presets in one JSON file shared with the Godot package: PS1 Default, Subtle and Off.
Try the demo: Pine Rest Motel at night
A one-storey roadside motel in the rain: six numbered doors, a brick office with a lit window and a bell, a tall neon sign whose last letter flickers, a fenced pool, a vending machine and an ice machine glowing under the walkway roof, a car park with painted bays and three old cars, a road, telephone poles, pines behind the roof, and fog that closes in past the lot. The demo is built from code around the shared glTF models (no prefabs), the twin of the Godot template's demo.
- Install Unity 6000.6.9f1 (Unity Hub) with a license activated in Unity Hub (the free Personal license works), and Node.js 20 or newer.
- Open this folder as a Unity project and enter play mode.
- WASD (or Up/Down) walks, click/tap the ground to walk there, drag to look, Left/Right step through the presets, P switches the look off and on, T runs the tour, H returns to the media camera spot. The panel is a separate full-resolution camera outside the screen, so it stays crisp while the world is 320x240.
- The panel toggles the parts of the look one at a time: snap, warp, dither, colour depth, fog, draw distance and scanlines.
Put it in your own game
Copy the folder Assets/RetroLook/ into your project. There is no manager object. Then, when the level exists:
var screen = gameObject.AddComponent<RetroScreen>();
level.transform.SetParent(screen.transform); // with its Camera
var converted = RetroLook.Convert(level); // Lit/Standard/... -> retro materials
RetroPresets.Apply("ps1-default", screen, level); // materials and screen together
Your scene's real lights stay in charge (per vertex, no specular), and the environment supplies the ambient. Assets/RetroLook/AGENTS.md is the full API, settings, pipeline and materials reference for you and your agent. AGENTS.md at the project root is the brief for working on this demo project.
Checks
npm run check
The command finds the pinned editor, recompiles every script and fails on any compiler or shader warning, runs the EditMode tests, runs the property-based render checks on URP and again with the pipeline switched to Built-in, compiles and renders the add-on in a scratch project with no URP package, and runs the project rules. It must end with CODEPLATE CHECKS: PASS.
The EditMode tests cover preset loading and the conversion map, the screen metrics, the look switch, the motel's build, its collisions and its materials. The render checks prove snapped vertices sit on the grid, affine and perspective renders differ (and perspective matches a reference), fog reaches its colour, draw distance hides a far object, 5 colour bits leaves at most 32 levels per channel, the converted sphere is lit by a scene light, per-vertex lighting is a linear blend (a per-pixel control is not), screen-door dithers in a 4x4 pattern, each resolution mode's square blocks, the 4:3 picture and a round sphere in every mode, one scanline per source row, 15-bit/dither, the look off matches a plain render, and UI over the picture stays full resolution.
How this add-on was made
Written for CodePlate with AI coding agents (Claude, by Anthropic); IASoft reviewed and tested it. The shaders and scripts are original, written from scratch against the engine's documented APIs; the motel art is the Godot template's, built by its art script from primitives and a hand-written pixel font. The checks run on every change; both pipelines passed on the development PC.
License
This is a Free CodePlate add-on. Use it, modify it and ship games made with it, including commercially. Anything you share should keep the credit "Built with CodePlate (codeplate.io)". See LICENSE.md.
Made by CodePlate.
For agents
itch.io page: https://codeplate.itch.io/godot-retro-3d-look-lite
Free template, downloaded from itch.io: you can't fetch it yourself. Ask the user to download template.zip from that page (free, no account needed) and give you the zip or the unzipped folder.
Verify with: npm run check