Jump to content

Geo Texturing

From Ironworks Games Wiki

Assigning Textures

The Material selector

Textures can be assigned to a face in multiple ways:

The first is to select one or more faces in the Face Subobject Mode, browse down the Inspector Panel to the Material selector, and pick your texture from the drop-down. You can filter the list with the search bar at the top.

The second way is to right click a texture in the Asset Browser and click "Apply Material to Selection".

But the third, and most effortless way, is to simply drag a texture from the Asset Browser straight onto the surface you want to texture in the 3D view.

While dragging a texture hold Shift to replace all instances of the same texture on connected faces (faces that flow from this face without changing texture).

While dragging a texture hold Alt to replace all instance of the same texture over the entire Geo, regardless of if they're isolated from the current face.

And finally, while dragging a texture hold Control to replace all the textures over the entire Geo.

Texture Actions and Properties

The Inspector Panel with face information

When one or more faces are selected, the Inspector Panel will display new information regarding the face and its UV mapping. The various properties and actions are detailed below:

Material The current assigned material(s) on the selected face(s).
Face Group ID Assigns an ID number to this face for use with the Material Components.
Double Sided Makes the face double-sided.
Force Texture Lock Forces the face(s) to preserve their UV's when the Geo is moved or rotated, as if a localised Texture Lock is active.
Texture Plane The axis from which the texture will projected onto the selected face(s). Auto will find the best axis by default, but can be overridden. A local axis' can also be used for objects that are rotated, keeping the texture projection relative to this object.
Texture Offset The X and Y offsets for the texture UV on this face. You can set a desired value here, or use the Texture Manipulator.
Texture Scale The X and Y scales for the texture UV on this face. You can set a desired value here, or use the Texture Manipulator.
Texture Skew The X and Y skews for the texture UV on this face. You can set a desired value here, or use the Texture Manipulator.
Fit Texture Attempts to fit the texture to the face with the current texture rotation, stretching it across the extremities. If multiple faces are selected, you'll have the option between Fit Single, which will fit the texture to each face individually, and Fit Together, which will fit the texture as a whole between all of the currently selected faces.
Lock UVs Locks all the UV properties and attempts to preserve the locked coordinates through geometry deformations, such as moving vertices. Unchecking this will destroy any transformations, bringing it back to Texture Plane projection.
Texture Rotation The rotation of the selected face(s). You can set a desired value here, or use the Texture Manipulator.
Lightmap Scale Factor Sets the lightmap scale factor. Positive values increase the lightmap resolution by a power of 2, negative values decrease the lightmap resolution by a power of 2. Covered in detail under Lighting.
Lightmap Disable Blur Lightmaps are blurred in post after baking to smooth hard edges. This can lead to some lightmap errors on smooth edges, so it can be disabled on a per-face basis.

The Texture Manipulator

The Texture Manipulator

The Texture Manipulator can be accessed in two ways:

Global ('Texture Manipulator')

The first is by accessing the Texture Manipulator globally through the The Toolbar, by either clicking the icon, or using the T hotkey. This method allows you to modify textures on any piece of Geo across the whole map. It is the simplest way to texture a scene.

Local ('Texture Subobject Mode')

The second method is the accessing Texture Manipulator locally. It behaves in all the same ways, but is accessed as a Subobject Mode after selecting an individual Geo. This method isolates the Texture Manipulator to your selected Geo, preventing you from working on unwanted faces.

Using the Texture Manipulator

The Texture Manipulator draws a gizmo on the viewports representing the texture's UV tiles. It allows you to select and freely drag the texture alignment around the scene by grabbing the gizmo and moving it with the mouse, quickly and easily rearranging textures.

Selecting

By holding Control you can select additional UV tiles, or Alt to remove some selected tiles.

Alt+A will deselect all currently selected tiles.

All of the below actions can be applied with multiple tiles selected, so you can neatly align or fit a texture by a specific amount of tiles as required.

Keyboard Nudging

The Arrow Keys will nudge the texture in that direction by the currently selected Grid Snap value. The direction the selection will move is based of the currently selected Transform Space; In World mode it'll move relative to the world facing of each face, and in Local mode it'll move relative to the current rotation of the selected texture.

Control + Left or Right will rotate the texture by 5 degrees in either direction.

Control + Shift + Left or Right will rotate the texture by 90 degrees in either direction.

Moving

Just click and drag in the central area of a selected UV tile to move it. You can temporarily enable/disable grid snapping by holding X, or vertex snapping with V.

Texture corner rotation in action

Rotating

You can rotate the texture with the green handle that appears above the top edge of the tile. You can temporarily enable/disable rotation snapping by holding X.

Holding Alt while rotating will attempt to snap the rotation to any edge you mouse over.

Holding Z will enable corner rotation, displaying new rotation handles. These will rotate around the corners of the tile instead.

Scaling

You can scale the texture with the blue handles. It will attempt to snap the UV to Geo edges.

Holding Shift while scaling will scale the texture proportionally.

Skewing

Holding Control will enable skewing, displaying new skew handles. These allow you to skew the texture horizontally and vertically by the currently selected Grid Snap value.

Copy-Pasting

You can copy and paste texture properties from one face to another with Control + C and Control + V.

Texture Wrap

Texture wrap in action

There is a unique texture wrap or "flow" mode activated by holding F with the Texture Manipulator active.

This mode allows you to wrap textures from face-to-face by clicking the first surface and dragging across a series of faces. You can wrap as many faces as needed, as long as they are connected to the previous face.

This tool will attempt to preserve alignment around each face, making it useful for rapidly texturing corners, walls and rounded surface. It draws a yellow arrow across each surface it has 'wrapped' in sequence.