Difference between revisions of "THQ Material (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
| NAME = THQ Material (Custom)
 
| NAME = THQ Material (Custom)
 
| VENDORNAME = THQ
 
| VENDORNAME = THQ
| MODULENAME = Toolkit
+
| MODULENAME = Plug-In
 
| MODULEID = 00CAFE
 
| MODULEID = 00CAFE
 
| IDENTIFIER = 45
 
| IDENTIFIER = 45
Line 10: Line 10:
 
The custom '''material''' extension was developed by THQ to attach geometric rendering properties to a material, using alpha referencing, z-test flags, blend functions, and culling, used for the known game ''[[wikipedia:Jimmy Neutron: Attack of the Twonkies|Jimmy Neutron: Attack of the Twonkies]]''.
 
The custom '''material''' extension was developed by THQ to attach geometric rendering properties to a material, using alpha referencing, z-test flags, blend functions, and culling, used for the known game ''[[wikipedia:Jimmy Neutron: Attack of the Twonkies|Jimmy Neutron: Attack of the Twonkies]]''.
  
==Binary structure==
+
==Structure==
 +
{
 
   uint32 header
 
   uint32 header
 
   int32 sectionSize
 
   int32 sectionSize
   uint32 materialFlags
+
   uint32 renderProps
 +
 
 +
  int32 AlphaTestRef
 +
  uint32 ZWriteFlags
 +
  int32 SrcBlend
 +
  int32 DestBlend
 +
  RwCullMode FaceCullMode
 +
}

Revision as of 01:00, 7 December 2023

THQ Material (Custom)
RenderWare Stream Section
Vendor THQ
Module Plug-In
Module ID 0x00CAFE
Identifier 0x45
Chunk ID 0x00CAFE45
Versions All
Hierarchy
Parents:
Material (Extension), Atomic (Extension, see below)
Children:
None
Extensions:
None
File Format

The custom material extension was developed by THQ to attach geometric rendering properties to a material, using alpha referencing, z-test flags, blend functions, and culling, used for the known game Jimmy Neutron: Attack of the Twonkies.

Structure

{
 uint32 header
 int32 sectionSize
 uint32 renderProps
 
 int32 AlphaTestRef
 uint32 ZWriteFlags
 int32 SrcBlend
 int32 DestBlend
 RwCullMode FaceCullMode
}