Difference between revisions of "Extra Vert Colour (RW Section)"
Jump to navigation
Jump to search
m (How come nobody has bothered to update this yet? :p) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{RW Section|Extra | + | {{RW Section |
+ | | NAME = Extra Vertex Colors | ||
+ | | VENDORNAME = Rockstar Games | ||
+ | | MODULENAME = Plug-In | ||
+ | | MODULEID = 0253F2 | ||
+ | | IDENTIFIER = F9 | ||
+ | | VERSION = 3.6.0.3 (and higher) | ||
+ | | PARENTS = [[Geometry (RW Section)|Geometry]] ''([[Extension (RW Section)|Extension]])'' | ||
+ | }} | ||
− | '''Extra | + | '''Extra Vertex Colors''', formerly '''Night Vertex Colors''', is one of Rockstar's [[List of RW section IDs|custom sections]]. In [[GTA San Andreas]] it is used to store alternative vertex colors displayed at night time. |
==Magic number== | ==Magic number== | ||
Line 9: | Line 17: | ||
UINT32 magicNumber | UINT32 magicNumber | ||
− | If zero, the section ends here. A non-zero value has no particular meaning and can be any (see [[Talk: | + | If zero, the section ends here. A non-zero value has no particular meaning and can be any (see [[Talk:Breakable_(RW_Section)#Meaningless values|Meaningless values]]). |
==Color data== | ==Color data== | ||
Line 16: | Line 24: | ||
BYTE[4] nightVertColours[geometry->numVertices] | BYTE[4] nightVertColours[geometry->numVertices] | ||
+ | |||
+ | {{N|SA}} |
Latest revision as of 12:57, 11 September 2020
Extra Vertex Colors | |
---|---|
RenderWare Stream Section | |
Vendor | Rockstar Games |
Module | Plug-In |
Module ID | 0x0253F2
|
Identifier | 0xF9
|
Chunk ID | 0x0253F2F9
|
Versions | 3.6.0.3 (and higher) |
Hierarchy | |
Parents: Geometry (Extension) | |
Children: None | |
Extensions: None | |
File Format |
Extra Vertex Colors, formerly 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.
Magic number
The initial 4 bytes sequence signals the usage of the extension:
UINT32 magicNumber
If zero, the section ends here. A non-zero value has no particular meaning and can be any (see Meaningless values).
Color data
This is an array of nighttime prelit colors blended according to a balancing parameter swinging throughout the game's virtual day:
BYTE[4] nightVertColours[geometry->numVertices]