Skip to content
RED+
Contents

Textures

Fit Texture to Face

Fit Texture to Face sets the selected faces' texture mapping so the texture repeats exactly the number of times you give, in U and in V. With 1 and 1, one whole texture covers the face.

Where to find it

The Fit Texture to Face... button at the bottom of the Texture Mode panel.

How to use it

  1. Switch to Texture mode (Shift+T).
  2. Select the faces: click one, and Ctrl+click the others.
  3. Click Fit Texture to Face....
  4. In the Fit Texture to Face window, type U repeats: and V repeats:. Both start at 1.
  5. Leave Fit each face separately ticked to fit each face on its own. Clear it to fit the selected faces as one.
  6. Click Fit. Cancel changes nothing.

Edit, Undo (Ctrl+Z) undoes the whole fit in one step.

What it does

  • It keeps each face's current mapping and only resizes and moves it on the texture. On each face, the lowest U and V become 0 and the highest become the repeat counts you typed.
  • U and V are fitted separately, so the texture stretches when the counts do not match the shape of the face's mapping.
  • It does not project the texture again: a flipped mapping stays flipped. To change the projection, use Apply Map first, as the window says.
  • On a face whose mapping is not a rectangle, the rectangle around it is fitted, so part of the texture falls outside the face.
  • With Fit each face separately cleared, RED+ fits the range that all the selected faces' coordinates cover together. Faces whose mapping already runs on from one to the next keep running on.
  • Repeat counts can have decimals, from 0.001 to 1024.
  • Only texture coordinates change. The texture, the face flags, the lightmap coordinates and the geometry stay as they are.
  • The views show the result at once, and the level is marked as changed.

Messages

If any selected face is refused, no face changes.

MessageWhat to do
Select textured brush faces in Texture mode first.Switch to Texture mode and select the faces.
Select at least one textured brush face in Texture mode.Select one or more faces.
A selected face has no texture. Apply a texture first.Give the face a texture, or leave it out of the selection.
A selected face has a collapsed UV mapping. Use Apply Map on it first.Map that face with Apply Map, then fit again.
A selected face has invalid UV coordinates. Apply a new map first.Map that face with Apply Map, then fit again.
Enter a repeat count from 0.001 to 1024. Use 1 for one full texture.Type a number in that range.

Good to know

  • If the faces already fit, nothing changes and no undo step is made.
  • RED+ does not scroll a face with a texture mover in the editor. The face keeps the coordinates you set, and the level saves those. The game scrolls it.
  • To carry a texture on across several faces without seams, see Wrap Texture.