THQ Atomic (RW Section)

From GTAMods Wiki
Revision as of 04:37, 7 December 2023 by Muzzarino (talk | contribs)
Jump to navigation Jump to search
THQ Atomic (Custom)
RenderWare Stream Section
Vendor THQ
Module Plug-In
Module ID 0x00CAFE
Identifier 0x40
Chunk ID 0x00CAFE40
Versions All
Hierarchy
Parents:
Atomic (Extension)
Children:
None
Extensions:
None
File Format

THQ has developed an additional atomic extension to enabling further rendering properties for cases that need fog, or rendering the grouped atomic transparent to part of geometry, made for games Jimmy Neutron: Attack of the Twonkies.

Structure

uint32 header
int32 sectionSize // Usually 15.
uint32 flags
 
{
 bool FogEnabled
 bool isTransparent
 
 isTransparent = flags && 0x4000;
 FogEnabled = flags && 0x1000;
}