OgreMax Scene Exporter for 3DS Max - OgreMax Texture Unit

OgreMax Texture Unit

Texture Units are contained within an OgreMax Pass:

### Bindings

- Unit - The processing unit that will access the texture unit.
- Texture Coordinate Set - The vertex texture coordinate set used by the texture unit.

### Color Blend

- Function - Color blending function used by the fixed-function pipeline.
- Source 1 - Indicates where the first color source comes from.
- Source 2 - Indicates where the second color source comes from.
- Alpha - Constant alpha value.
- Manual Color 1 and 2 - Colors corresponding to Source 1 and 2, respectively.

### Alpha Blend

- Function - Alpha blending function used by the fixed-function pipeline.
- Source 1 - Indicates where the first alpha source comes from.
- Source 2 - Indicates where the second alpha source comes from.
- Alpha - Constant alpha value.
- Manual Alpha 1 and 2 - Alpha values corresponding to Source 1 and 2, respectively.

### Layer Blend Fallback

Blending used by the pass in the event that the configured color or alpha blending is not supported.

### Texture Coordinate Generation

- Environment Mapping - Indicates the type of environment mapping used in the texture unit.
- Addressing Mode - U - The addressing mode of a texture coordinate's U component.
- Addressing Mode - V - The addressing mode of a texture coordinate's V component.
- Addressing Mode - W - The addressing mode of a texture coordinate's W component.

### Filtering

- Advanced - Indicates whether the filtering mode should be specified with the low-level settings.
- Mode - The high-level filtering mode.
- Maximum Anisotropy - The maximum degree of anisotropy that the renderer will try to compensate for when filtering textures. For more information, see the Ogre 3D Documentation.
- Mip Bias - Biasing used by the renderer when selection which mip level to use.

### Transform

- Scroll - Translates texture coordinates by a fixed amount.
- Scale - Scales texture coordinates by a fixed amount. The scale is the inverse of a 3DS Max Bitmap's 'Tiling' setting. For example, a tiling setting of 2 would be a scale of 0.5.
- Rotate - Rotates texture coordinates by a fixed amount.

### Transform Animation

- Scroll - The rate of translation applied to texture coordinates, per second.
- Rotate - The rate of rotation applied to texture coordinates, per second.

### Waveform Transform Animations

A list of cyclic, animated transformations applied to texture coordinates. For more information, see Waveform Animation Dialog.

### Texture

Alias - Alias for the texture name. If empty, the appropriate bitmap file name is used.

### Single Texture

- Bitmap - A bitmap file. Before selecting this file, the other settings should be chosen as appropriate.
- Format - The format of the bitmap file.
- Alpha - Indicates whether the bitmap contains only alpha information.
- Render to Texture - A dynamic render-to-texture bitmap.
- Shadow - Indicates the shadow texture will be provided by Ogre at runtime.

### Cubic Texture Files

Cubic textures are 6 files, each making up a face of unit cube.

- Type - Indicates how the faces of the cubic textures should be addressed. For more information, see the Ogre 3D Documentation.
- Base Name - The base file name of the cubic texture files. For example, 'sky.jpg' refers to the following 6 files:
  1. 'sky_fr.jpg'
  2. 'sky_bk.jpg'
  3. 'sky_up.jpg'
  4. 'sky_dn.jpg'
  5. 'sky_lf.jpg'
  6. 'sky_rt.jpg'
  Since the base file name doesn't contain a directory, the resource location containing these textures must be configured in the Scene Settings dialog in order for them to appear in the Material Viewer.
- Separate Files - Separate cubic texture files. They must all be specified in order for them to function properly.

### Animated Texture

- Sequence Length - The length of the animation, in seconds.
- Base Name/# Frames - The base file name of the animated texture files. For example, 'frame.jpg' with '# Frames' set to 2 refers to the following files:
  1. 'frame_0.jpg'
  2. 'frame_1.jpg'
  Since the base file name doesn't contain a directory, the resource location containing these textures must be configured in the Scene Settings dialog in order for them to appear in the Material Viewer.
- Individual Files - Frames of animation, specified individually.

### Custom

Custom textures are user defined textures. Note that OgreMax will not display these types of textures in real-time.

- External - A custom texture type that is handled by a plugin outside of Ogre 3D's core texture handling system.
  - Source - The external texture source. This text will be exported exactly as it is typed, so it is important that it doesn't contain characters, such as '{' and '}', that will invalidate the exported material file's format.
  - Parameters - The external parameters. This text will be exported exactly as they are typed, so it is important that it doesn't contain characters, such as '{' and '}', that will invalidate the exported material file's format.