Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Cube and Decal parameters

...

These fields are applied to the texture being read in. Some are specific to different types of textures (like bump maps) and will be ignored if the TXI belongs to a texture which is not of the same type. I will try to document these cases. 

Cube

Defines that the associated texture is a cubemap. Allowed values are 0 or 1. Default is 0.

cube 1

Decal

Renders the texture on top of anything it's flush with. Black areas of texture will be transparent. Allowed values are 0 or 1. Default is 0.

decal 1

DefaultWidth / DefaultHeight

...

Specify the number of pixels that the texture can wrap.       

clamp 3

Filter

Specify whether to filter the texture using linear filtering or not.  If set to 0, filtering is nearest, otherwise it is linear. Default filtering is linear.

...