Extra Vert Colour (RW Section)

From GTAMods Wiki
Revision as of 23:35, 3 February 2009 by Seemann (talk | contribs)
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.