DB/LightData
Jump to navigation
Jump to search
New in MOP
Contains information of LightIntBand.dbc and LightFloatBand.dbc
The number of lines depends on the precision of the Time Values
Column Description Notes 1 ID 2 Sky ID This is a ref to LightParams.dbc 3 Time values 4 Global diffuse light 5 Global ambient light 6 Sky color 0 (top) 7 Sky color 1 (middle) 8 Sky color 2 (middle to horizon) 9 Sky color 3 (above horizon) 10 Sky color 4 (horizon) 11 Fog color / background mountains color 12 Sun color + sun halo color 13 Sun larger halo color 14 Cloud color 15 ? This is the same value as the 11th row of LightIntBand 16 ? This is the same value as the 13th row of LightIntBand 17 ? This is the same value as the 14th row of LightIntBand 18 Water color [dark] 19 Water color [light] 20 Shadow color 21 ? This is the same value as the 8th row of LightIntBand 22 Fog distance multiplied by 36 23 Fog multiplier? 24 ? This is the same value as the 4th row of LightFloatBand
6.0.1.18179
struct LightDataRec { uint32_t m_ID; uint32_t m_lightParamID; uint32_t m_time; uint32_t m_directColor; uint32_t m_ambientColor; uint32_t m_skyTopColor; uint32_t m_skyMiddleColor; uint32_t m_skyBand1Color; uint32_t m_skyBand2Color; uint32_t m_skySmogColor; uint32_t m_skyFogColor; uint32_t m_sunColor; uint32_t m_cloudSunColor; uint32_t m_cloudEmissiveColor; uint32_t m_cloudLayer1AmbientColor; uint32_t m_cloudLayer2AmbientColor; uint32_t m_oceanCloseColor; uint32_t m_oceanFarColor; uint32_t m_riverCloseColor; uint32_t m_riverFarColor; uint32_t m_shadowOpacity; float m_fogEnd; float m_fogScaler; float m_cloudDensity; float m_fogDensity; };