Tutorial: worn leather
In this tutorial you turn the Comfy rocker aramid-weave slim-fits into worn brown leather pants, from one line of words, and wear them in the game. These are the exact steps EDGEmat’s New Material feature was tested with. It takes about 15 minutes, most of it in the game, and costs a few cents: an AI image service draws the leather, on your own key.
New to EDGEmat? Do Tutorial: recolor a jacket first. It needs no key, and it explains projects and Find more slowly.

| On this page | |
|---|---|
| What you need | A project, a key, REDnode |
| 1. Find the pants’ material | |
| 2. Generate the leather | From one line of words |
| 3. Add it to the project | Name, repeat, bumps, shine |
| 4. Into the game | Pack, install, wear |
| What to look for, Try next |
What you need
| EDGEmat and REDcode | Install and set up |
| A project, the folder your mod lives in | Run REDcode: New Project from the command palette (Ctrl+Shift+P) and name it, for example my_materials. Leave it open |
| An image service key | Google Gemini or OpenAI, your own. New Material says what a key is and where to get one. One picture costs a few cents |
| REDnode 0.49.5 or later, installed in the game | Its Console puts the pants on V |
1. Find the pants’ material
- Click EDGEmat’s icon in the activity bar, then the FIND header (below the Desk and Game Materials) and its magnifier.
- Type
comfy rockerand unfold Comfy rocker aramid-weave slim-fits. Its record id,Items.Pants_01_basic_01, shows in grey beside it. That is the game’s internal name for the item: you’ll need it in the game. - Under your V’s body (Feminine body or Masculine body) is the mesh, the pants’ 3D shape:
l1_012_pwa_pants__jeans_tight.meshfor the feminine body,l1_012_pma_...for the masculine. Its materials are listed under it. - Hover the material leather and press the sparkle icon at its right (New Material Here…).
You should see the New Material page open. Where it goes names leather on two meshes, l1_012_pwa_... and l1_012_pma_...: one per body type, so the pants change whichever body you play.

2. Generate the leather
-
Under 1. The image, stay on From words (AI) and type:
worn brown leather with fine creases
- Leave Detail on medium. Pick your service.
- Press Generate. The first time, paste your API key in the box that opens.
| What you should see | |
|---|---|
| While the service works | A notification, usually for under a minute |
| When it is done | Take 1 under 2. Takes, and the leather tiled 3 × 3 under 3. The material |
Look for seams, or a pattern that repeats too obviously. Not happy? Press Generate again, or change the words, and pick the take you like best. Each take costs a few cents.

3. Add it to the project
Under 3. The material:
| Setting | Set to | Why |
|---|---|---|
| Name | worn leather |
Names the files: worn_leather |
| Repeat | 6 | Six times across the pants: fine creases, not big blotches |
| Bumps | Moderate | The creases catch the light |
| Shine | Satin | A soft sheen, not plastic |
| Metal | off |
Press Add to Project.
| What you should see | |
|---|---|
| A message | It saved worn_leather and put it on 2 mesh materials, with the buttons Pack and Play and Reveal in File Explorer (Show Files before 0.3.4) |
| On the page | Both meshes listed, with “repeat in the texture, garment folds kept”: the pants keep their own folds and wrinkles at their real size |

4. Into the game
- Close the game if it’s running. In REDcode’s Project view, press Pack and Install, the rocket. (The Pack and Play button in the message does the same while the game is closed. With the game running under REDnode it swaps the mod in: see Keep the game running.)
- Press Run Game, or start the game your usual way, and load a save.
-
Press F10, click the REDNODE tab, switch on Console, and type:
addItem("Items.Pants_01_basic_01") - Equip the pants, and look in photo mode: front, side and back.


What to look for
| Look at | You should see |
|---|---|
| Folds | The pants’ own wrinkles at the knees and ankles, at their normal size |
| The leather | Fine creases and cracks, even over both legs, with no obvious repeat |
| Panel lines | The pattern breaks where the garment’s pieces meet. On leather this reads as stitching |
| Color | Close to the take. A warm image gives a warm, tan brown |
If the pants look as they did before, see If you don’t see your change. To get the game’s own pants back, use REDcode’s Uninstall: Take the mod out again.
Try next
- Change the words: “black patent leather”, “cracked red leather”. Glossy shine suits patent.
- Use a photo of your own: From an image file, no key needed.
- Ask Claude instead: Tutorial: snakeskin by asking Claude.