Environment Track Data: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1:
The '''Environment Slice''' container format is used to store track environment lighting/weather values and skybox textures. It uses the filename <code>ENVIRO.DAT</code>.
 
= Layout =
Line 20:
! colspan="5" | Fog settings
|-
| <tt>0xB0 || <tt>0x01 || Unsigned integer (8) || Enable/disable fog || 0<tt>0x00</tt> = disabled,; 1<tt>0x01</tt> = enabled. This applies for all other boolean values in the header.
|-
| <tt>0xB4 || <tt>0x04 || Floating-point number || Fog start distance ||
Line 58:
| <tt>0x108 || <tt>0x04 || Floating-point number || Specular lighting hue (blue) ||
|-
| <tt>0x110 || <tt>0x04 || Floating-point number || Ambient lighting hue (red, tunnel) || All values from here to <tt>0x138</tt> (as well as <tt>0x144</tt>'s value) are only applied to the vehicle when it has entered a tunnel or overpass.
|-
| <tt>0x114 || <tt>0x04 || Floating-point number || Ambient lighting hue (green, tunnel) ||
Line 76:
| <tt>0x138 || <tt>0x04 || Floating-point number || Specular lighting hue (blue, tunnel) ||
|-
| <tt>0x140 || <tt>0x04 || Floating-point number || Specular lighting coefficient || Intensity of the specular lighting applied to the car.
|-
| <tt>0x144 || <tt>0x04 || Floating-point number || Specular lighting coefficient (tunnel) ||
Line 100:
| <tt>0x164 || <tt>0x04 || Unsigned integer (32) || Number of sun copies ||
|-
| <tt>0x170 || <tt>0x04 || Floating-point number || Sun colorhue (red) ||
|-
| <tt>0x174 || <tt>0x04 || Floating-point number || Sun colorhue (green) ||
|-
| <tt>0x178 || <tt>0x04 || Floating-point number || Sun colorhue (blue) ||
|-
| <tt>0x180 || <tt>0x04 || Floating-point number || Sun core colorhue (red) ||
|-
| <tt>0x184 || <tt>0x04 || Floating-point number || Sun core colorhue (green) ||
|-
| <tt>0x188 || <tt>0x04 || Floating-point number || Sun core colorhue (blue) ||
|-
| <tt>0x190 || <tt>0x04 || Floating-point number || Sun X Vector ||
Line 120:
| <tt>0x1A0 || <tt>0x01 || Unsigned integer (8) || Enable/disable sun corona ||
|-
| <tt>0x1A4 || <tt>0x04 || Floating-point number || Sun corona X -size ||
|-
| <tt>0x1A8 || <tt>0x04 || Floating-point number || Sun corona Y -size ||
|-
| <tt>0x1B0 || <tt>0x04 || Floating-point number || Sun corona colorhue (red) ||
|-
| <tt>0x1B4 || <tt>0x04 || Floating-point number || Sun corona colorhue (green) ||
|-
| <tt>0x1B8 || <tt>0x04 || Floating-point number || Sun corona colorhue (blue) ||
|-
| <tt>0x1C0 || <tt>0x01 || Unsigned integer (8) || Enable/disable sun blur occlusion ||