LBA2:Island texture uvs

From LBA File Information
Revision as of 16:13, 17 February 2017 by Lupin (talk | contribs) (Created page with "{{Infobox format | extension = LUV | lba2 = true | colour = FF99FF }} The file contains UV texture coordinates for the ground triangles. == Specification == Each entry in t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Island texture uvs
Extension

LUV

Occurence

LBA2

Colour
Programs supporting this format

(none)

References

Find entries of this type

The file contains UV texture coordinates for the ground triangles.

Specification

Each entry in the file consists of 12 bytes containing 3 texture coordinates.

1 entry = 1 ground triangle

The number of entries varies between island sections, depending on how many ground triangles are textured.

UV entry

  • Offset 1: BYTE (u8): U (Vertex 1)
  • Offset 3: BYTE (u8): V (Vertex 1)
  • Offset 5: BYTE (u8): U (Vertex 2)
  • Offset 7: BYTE (u8): V (Vertex 2)
  • Offset 9: BYTE (u8): U (Vertex 3)
  • Offset 11: BYTE (u8): V (Vertex 3)



Information provided by: Lupin