DB/LightSkybox
Jump to navigation
Jump to search
Links the various potential skyboxes that can be used to a numerical ID that can be used in other DBC files more easily.
1.12.1.5875
struct LightSkyboxRec { uint32_t m_ID; stringrefⁱ m_name; };
Structure
Column Field Type Notes 1 ID Integer 2 sRefPath String This is the model that will be represented by the corresponding ID. path: Environments\Stars\[a-z].mdx" 3 Flags Integer
6.0.1.18179
struct LightSkyboxRec { uint32_t m_ID; stringrefⁱ m_name; uint32_t m_flags; // &1: animation syncs with time of day (uses animation 0, time of day is just in percentage). &2: render stars, sun and moons and clouds as well. &4: see below };
Flag 0x4
This flag takes halved version sky cone mesh to make a smooth transition between bottom EndFogColor and the main sky.
It's not mutually exclusive with 0x2 flag, which tells to draw full version of sky cone mesh. And some skyboxes do use both flags at the same time (Check from example map 971). In this case, first main sky cone mesh is drawn, then the sky box meshes are drawn if there are any, and on top of the result the halved sky cone mesh is drawn to smooth out the result
Flags names
Potential Flags definitions from EnumeratedStrings 291
0x01 Full day Skybox 0x02 Combine Procedural And Skybox 0x04 Procedural Fog Color Blend 0x08 Force Sun-shafts 0x10 Disable use Sun Fog Color