Immutable clear-sky daylight material controls, copied during sky preparation. 更多...
#include <SkyWispsLayer.h>
Public 成员函数 | |
| EVENGINE_API_BACKENDS Result< void > | validate () const |
| Reject nonfinite, out-of-range or unordered authored data without mutation. | |
Public 属性 | |
| std::array< float, 4 > | rayDay {.168627f, .407843f, 1, .04f} |
| Source clear-sky optical tints; rayDay.w is scattering scale, absorption w is its scale. | |
| std::array< float, 4 > | rayDusk {.17f, .409234f, 1, 0} |
| std::array< float, 4 > | rayNight {.241211f, .347328f, .609375f, 0} |
| std::array< float, 4 > | absorptionDay {.198069f, .095307f, 1, .002f} |
| std::array< float, 4 > | absorptionNight {.030354f, .181178f, 1, .004f} |
| std::array< std::array< float, 4 >, 21 > | scatteringCurve {} |
| std::array< float, 4 > | sun {1, 1, 1, 5} |
| std::array< float, 4 > | moon {.445801f, .557475f, .864583f, .15f} |
| std::array< float, 4 > | moonOrbit {35, 0, .04f, 0} |
| std::array< float, 4 > | dayTint {.476966f, .473985f, .526042f, 1} |
| std::array< float, 4 > | duskTint {1, .587119f, .395833f, 1} |
| std::array< float, 4 > | nightTint {.367187f, .428386f, .489583f, 1} |
| std::array< float, 4 > | glow {.093045f, .141694f, .255208f, .6f} |
| std::array< float, 4 > | controls {1, 2, 1, 1} |
| Night brightness, absent-light boost, illuminated moon fraction and overall intensity. | |
| std::array< float, 4 > | stars {.484375f, .639062f, 1, .75f} |
| Linear star tint and source intensity, before the night filter. | |
| std::array< float, 4 > | starUv {2.5f, 5, 0, 0} |
| Tiling, per-day UV movement, rotation in turns and fixed star phase. | |
| std::array< float, 4 > | twinkle {.7f, 1.5f, 2, 0} |
| Noise floor/strength, glow reflection scale and reserved zero. Twinkle time is frozen. | |
| std::array< float, 4 > | moonDiskColor {.486328f, .574971f, .864583f, 0} |
| Linear lunar surface tint; w enables the disk (0 or 1), disabled in legacy assets. | |
| std::array< float, 4 > | moonDiskShape {.033161256f, 1, 0, .005f} |
| UV diameter in radians, horizon enlargement, texture rotation degrees and earthlight. | |
| std::array< float, 4 > | moonDiskLighting {.3f, .6f, 0, 1.6f} |
| Night/day texture intensity, fixed lunar phase days [0,29.53], phase contrast. | |
| std::array< float, 4 > | moonDiskGlow {.05f, .20212766f, 0, 0} |
| Glow intensity, angular projection scale and two reserved zeros. | |
详细描述
Immutable clear-sky daylight material controls, copied during sky preparation.
Source RGB scattering keys are linear [angleDegrees,r,g,b], with constant endpoints. All colors are linear HDR. Orbit is [pitchDegrees,yawDegrees,verticalOffset,phaseTurns]. This is an upload value, not a clock, mutable authority or persistent schema. @thread Validation is pure and worker-safe; no callbacks or retained references.
在文件 SkyWispsLayer.h 第 14 行定义.
成员函数说明
◆ validate()
| Result< void > eve::graphics::SkyDaylightLayer::validate | ( | ) | const |
Reject nonfinite, out-of-range or unordered authored data without mutation.
在文件 SkyWispsAsset.cpp 第 291 行定义.
类成员变量说明
◆ absorptionDay
在文件 SkyWispsLayer.h 第 18 行定义.
◆ absorptionNight
| std::array<float, 4> eve::graphics::SkyDaylightLayer::absorptionNight {.030354f, .181178f, 1, .004f} |
在文件 SkyWispsLayer.h 第 18 行定义.
◆ controls
| std::array<float, 4> eve::graphics::SkyDaylightLayer::controls {1, 2, 1, 1} |
Night brightness, absent-light boost, illuminated moon fraction and overall intensity.
在文件 SkyWispsLayer.h 第 27 行定义.
◆ dayTint
在文件 SkyWispsLayer.h 第 22 行定义.
◆ duskTint
在文件 SkyWispsLayer.h 第 23 行定义.
◆ glow
在文件 SkyWispsLayer.h 第 25 行定义.
◆ moon
在文件 SkyWispsLayer.h 第 20 行定义.
◆ moonDiskColor
| std::array<float, 4> eve::graphics::SkyDaylightLayer::moonDiskColor {.486328f, .574971f, .864583f, 0} |
Linear lunar surface tint; w enables the disk (0 or 1), disabled in legacy assets.
在文件 SkyWispsLayer.h 第 35 行定义.
◆ moonDiskGlow
Glow intensity, angular projection scale and two reserved zeros.
在文件 SkyWispsLayer.h 第 43 行定义.
◆ moonDiskLighting
Night/day texture intensity, fixed lunar phase days [0,29.53], phase contrast.
Phase is authored independently of the shared daily orbital clock; it does not advance a second clock.
在文件 SkyWispsLayer.h 第 41 行定义.
◆ moonDiskShape
UV diameter in radians, horizon enlargement, texture rotation degrees and earthlight.
在文件 SkyWispsLayer.h 第 37 行定义.
◆ moonOrbit
| std::array<float, 4> eve::graphics::SkyDaylightLayer::moonOrbit {35, 0, .04f, 0} |
在文件 SkyWispsLayer.h 第 21 行定义.
◆ nightTint
在文件 SkyWispsLayer.h 第 24 行定义.
◆ rayDay
Source clear-sky optical tints; rayDay.w is scattering scale, absorption w is its scale.
在文件 SkyWispsLayer.h 第 16 行定义.
◆ rayDusk
在文件 SkyWispsLayer.h 第 16 行定义.
◆ rayNight
在文件 SkyWispsLayer.h 第 17 行定义.
◆ scatteringCurve
| std::array<std::array<float, 4>, 21> eve::graphics::SkyDaylightLayer::scatteringCurve {} |
在文件 SkyWispsLayer.h 第 19 行定义.
◆ stars
Linear star tint and source intensity, before the night filter.
在文件 SkyWispsLayer.h 第 29 行定义.
◆ starUv
| std::array<float, 4> eve::graphics::SkyDaylightLayer::starUv {2.5f, 5, 0, 0} |
Tiling, per-day UV movement, rotation in turns and fixed star phase.
在文件 SkyWispsLayer.h 第 31 行定义.
◆ sun
| std::array<float, 4> eve::graphics::SkyDaylightLayer::sun {1, 1, 1, 5} |
在文件 SkyWispsLayer.h 第 20 行定义.
◆ twinkle
Noise floor/strength, glow reflection scale and reserved zero. Twinkle time is frozen.
在文件 SkyWispsLayer.h 第 33 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/sky/SkyWispsLayer.h
- src/modules/graphics/sky/SkyWispsAsset.cpp