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 { int m_ID; int m_lightParamID; int m_time; int m_directColor; int m_ambientColor; int m_skyTopColor; int m_skyMiddleColor; int m_skyBand1Color; int m_skyBand2Color; int m_skySmogColor; int m_skyFogColor; int m_sunColor; int m_cloudSunColor; int m_cloudEmissiveColor; int m_cloudLayer1AmbientColor; int m_cloudLayer2AmbientColor; int m_oceanCloseColor; int m_oceanFarColor; int m_riverCloseColor; int m_riverFarColor; int m_shadowOpacity; float m_fogEnd; float m_fogScaler; float m_cloudDensity; float m_fogDensity; };