Extra Vert Colour (RW Section)

From GTAMods Wiki
Revision as of 15:47, 5 November 2006 by Steve-m (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{NAME}}}
RenderWare Stream Section
Vendor {{{VENDORNAME}}}
Module {{{MODULENAME}}}
Module ID 0x{{{MODULEID}}}
Identifier 0x{{{IDENTIFIER}}}
Chunk ID 0x{{{MODULEID}}}{{{IDENTIFIER}}}
Versions All
Hierarchy
Parents:
None
Children:
None
Extensions:
None
File Format

Night Vertex Colors is one of Rockstar's custom sections. In GTA San Andreas it is used to store alternative vertex colors displayed at night time. The typical location in a SA dff section hierarchy is Clump > Geometry List > Geometry > Extension > Night Vertex Colors.

Data Layout

4b - FLOAT      - unknown
 ? - BYTE[?][4] - array of RGBA colors

There are as many vertex colors as vertices in the geometry struct section.