|
|
|
@ -35,16 +35,16 @@ namespace ESM4
|
|
|
|
|
|
|
|
|
|
// FO3/FNV version of the struct
|
|
|
|
|
struct Lighting
|
|
|
|
|
{ // | Aichan Prison values
|
|
|
|
|
std::uint32_t ambient; // | 16 17 19 00 (RGBA)
|
|
|
|
|
std::uint32_t directional; // | 00 00 00 00 (RGBA)
|
|
|
|
|
std::uint32_t fogColor; // | 1D 1B 16 00 (RGBA)
|
|
|
|
|
float fogNear; // Fog Near | 00 00 00 00 = 0.f
|
|
|
|
|
float fogFar; // Fog Far | 00 80 3B 45 = 3000.f
|
|
|
|
|
std::int32_t rotationXY; // rotation xy | 00 00 00 00 = 0
|
|
|
|
|
std::int32_t rotationZ; // rotation z | 00 00 00 00 = 0
|
|
|
|
|
float fogDirFade; // Fog dir fade | 00 00 80 3F = 1.f
|
|
|
|
|
float fogClipDist; // Fog clip dist | 00 80 3B 45 = 3000.f
|
|
|
|
|
{ // | Aichan Prison values
|
|
|
|
|
std::uint32_t ambient = 0; // | 16 17 19 00 (RGBA)
|
|
|
|
|
std::uint32_t directional = 0; // | 00 00 00 00 (RGBA)
|
|
|
|
|
std::uint32_t fogColor = 0; // | 1D 1B 16 00 (RGBA)
|
|
|
|
|
float fogNear = 0; // Fog Near | 00 00 00 00 = 0.f
|
|
|
|
|
float fogFar = 0; // Fog Far | 00 80 3B 45 = 3000.f
|
|
|
|
|
std::int32_t rotationXY = 0; // | 00 00 00 00 = 0
|
|
|
|
|
std::int32_t rotationZ = 0; // | 00 00 00 00 = 0
|
|
|
|
|
float fogDirFade = 0; // | 00 00 80 3F = 1.f
|
|
|
|
|
float fogClipDist = 0; // | 00 80 3B 45 = 3000.f
|
|
|
|
|
float fogPower = 1.f; // TES4 doesn't have this
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|