Reflection Material (RW Section)
|RenderWare Stream Section|
A SA Reflection Material is one of Rockstar's custom sections. In GTA San Andreas it is used to override vehicle reflection maps. The typical location in a SA dff section hierarchy is Clump > Geometry List > Geometry > Material List > Material > Extension > 0x0253F2FC.
The layout of a Specular Material Extension is as follows:
float - reflection image amount: red channel float - reflection image amount: green channel float - reflection image amount: blue channel float - reflection image amount: alpha channel float - reflection intensity dword - always 00
reflection image amount rgba channels - controls how much of this channel of the image shows up. For example, setting the green and blue channels to zero, while leaving the red channel at full, will result in only the red portions of the reflection image showing up on this material. Alpha is untested. reflection intensity - how much of the image will be reflected back - 0 for none, to 1.0 for full.
This SA Reflection Material is exclusive to San Andreas. The use is limited to vehicles; putting this Material extension on a building object will not yield the same results.