Skip to content
Jocelyn Beedie edited this page Nov 15, 2020 · 4 revisions
struct Light {
    TransformationHeader header;
    float f0; // Range: [-0.3505, 1.0]
    float f1; // Range: [-0.7798, 0.9764]
    float f2; // Range: [-0.6302, 0.9968]
    float f3; // Range: [-0.6889, 0.8755]
    // These might be related to color
    float f4; // Range: [0.0, 1.0]
    float f5; // Range: [0.0, 1.0]
    float f6; // Range: [0.0, 1.0]
    Vector3 direction; // Normalized 3d vector
    // These might be related to color
    float f10; // Range: [0.0, 1.0]
    float f11; // Range: [0.0, 1.0]
    float f12; // Range: [0.0, 1.0]
    uint8_t unknown13; // Always 1
    char junk[3];
    // Considering the size of the following three floats, they might be related to range
    float f14; // Range: [-279.6500, 165.8996]
    float f15; // Range: [-251.3200, 224.9432]
    float f16; // Range: [-171.5800, 157.6500]
}
Clone this wiki locally