Borrowed authored thin-cloud layer, consumed synchronously by sky preparation. 更多...
#include <SkyWispsLayer.h>
Public 属性 | |
| bool | daylightEnabled = false |
| Opt-in daylight chain. Disabled for legacy manifests; no independent time source. | |
| bool | opticalCycleEnabled = false |
| Opt-in source optical cycle, prepared as an immutable height-sampled LUT volume. | |
| SkyDaylightLayer | daylight |
| const ShaderImageInput * | starsTexture = nullptr |
| Optional star/noise uploads, borrowed through preparation only; required by daylightEnabled. | |
| const ShaderImageInput * | starsNoiseTexture = nullptr |
| const ShaderImageInput * | moonColorTexture = nullptr |
| Lunar color/alpha and phase-normal uploads; borrowed only until prepare returns. Required when daylight.moonDiskColor.w is 1; ignored otherwise. | |
| const ShaderImageInput * | moonNormalTexture = nullptr |
| std::array< std::array< float, 4 >, 12 > | sunDiskCurve {} |
| Optional RGB elevation curves: four (height,value,arrive tangent,leave tangent) keys per channel. Values scale disk radiance relative to each channel's final key; heights are (1+sunDirection.y)/2. Unweighted cubic Hermite interpolation with constant endpoint extrapolation; no clock is retained. | |
| bool | sunDiskCurveEnabled = false |
| std::array< float, 3 > | sunDiskColor {0, 0, 0} |
| Solar disk RGB radiance; zero disables it. Copied at preparation, independent of light irradiance. | |
| std::array< float, 3 > | sunDiskShape {.021380283f, 3.f, 0.f} |
| Angular radius in radians, positive edge exponent and nonnegative reflection multiplier. | |
| std::array< float, 3 > | materialContrast {0, 1, 1} |
| Parent material contrast, midpoint and intensity, applied after sky/cloud composition. | |
| bool | authoredSkyLighting = false |
| Apply authored sun/moon intensity gradients to the physical sky before composition. | |
| std::span< const float > | corners |
| const ShaderImageInput * | densityTexture = nullptr |
| float | domeScale = 5000 |
| std::array< float, 3 > | color {.355900f, .399502f, .469850f} |
| std::array< float, 4 > | gradient {.5f, 0, -.866025f, 5} |
| std::array< float, 2 > | movement {-1, 0} |
| std::array< float, 3 > | moonForward {0, 0, 1} |
| float | morphRate = 1 |
| float | morphPeriod = 10 |
| float | morphAmount = .4f |
| float | opacity = .2f |
| float | litIntensity = .8f |
| float | cloudTime = 0 |
| bool | moonGradient = true |
| bool | staticClouds = false |
详细描述
Borrowed authored thin-cloud layer, consumed synchronously by sky preparation.
Triangle-list corners are x,y,z,u,v,r,g,b,a in Unreal local centimetres. Coordinates convert to native (x,z,y) metres, with the explicit uniform dome scale. Texture storage/sRGB interpretation is explicit in densityTexture; its binding is reassigned. No file loading, provider pointers, clocks or callbacks are retained. All values are copied to GPU storage. This is a runtime upload description, not a persistent file schema.
在文件 SkyWispsLayer.h 第 53 行定义.
类成员变量说明
◆ authoredSkyLighting
| bool eve::graphics::SkyWispsLayer::authoredSkyLighting = false |
Apply authored sun/moon intensity gradients to the physical sky before composition.
在文件 SkyWispsLayer.h 第 78 行定义.
◆ cloudTime
| float eve::graphics::SkyWispsLayer::cloudTime = 0 |
在文件 SkyWispsLayer.h 第 88 行定义.
被这些函数引用 eve::daynight::SkyRuntime::prepare().
◆ color
| std::array<float, 3> eve::graphics::SkyWispsLayer::color {.355900f, .399502f, .469850f} |
在文件 SkyWispsLayer.h 第 82 行定义.
◆ corners
| std::span<const float> eve::graphics::SkyWispsLayer::corners |
在文件 SkyWispsLayer.h 第 79 行定义.
◆ daylight
| SkyDaylightLayer eve::graphics::SkyWispsLayer::daylight |
在文件 SkyWispsLayer.h 第 58 行定义.
◆ daylightEnabled
| bool eve::graphics::SkyWispsLayer::daylightEnabled = false |
Opt-in daylight chain. Disabled for legacy manifests; no independent time source.
在文件 SkyWispsLayer.h 第 55 行定义.
◆ densityTexture
| const ShaderImageInput* eve::graphics::SkyWispsLayer::densityTexture = nullptr |
在文件 SkyWispsLayer.h 第 80 行定义.
◆ domeScale
| float eve::graphics::SkyWispsLayer::domeScale = 5000 |
在文件 SkyWispsLayer.h 第 81 行定义.
◆ gradient
在文件 SkyWispsLayer.h 第 83 行定义.
◆ litIntensity
| float eve::graphics::SkyWispsLayer::litIntensity = .8f |
在文件 SkyWispsLayer.h 第 87 行定义.
◆ materialContrast
| std::array<float, 3> eve::graphics::SkyWispsLayer::materialContrast {0, 1, 1} |
Parent material contrast, midpoint and intensity, applied after sky/cloud composition.
在文件 SkyWispsLayer.h 第 76 行定义.
◆ moonColorTexture
| const ShaderImageInput* eve::graphics::SkyWispsLayer::moonColorTexture = nullptr |
Lunar color/alpha and phase-normal uploads; borrowed only until prepare returns. Required when daylight.moonDiskColor.w is 1; ignored otherwise.
在文件 SkyWispsLayer.h 第 64 行定义.
◆ moonForward
| std::array<float, 3> eve::graphics::SkyWispsLayer::moonForward {0, 0, 1} |
在文件 SkyWispsLayer.h 第 85 行定义.
◆ moonGradient
| bool eve::graphics::SkyWispsLayer::moonGradient = true |
在文件 SkyWispsLayer.h 第 89 行定义.
◆ moonNormalTexture
| const ShaderImageInput* eve::graphics::SkyWispsLayer::moonNormalTexture = nullptr |
在文件 SkyWispsLayer.h 第 65 行定义.
◆ morphAmount
| float eve::graphics::SkyWispsLayer::morphAmount = .4f |
在文件 SkyWispsLayer.h 第 86 行定义.
◆ morphPeriod
| float eve::graphics::SkyWispsLayer::morphPeriod = 10 |
在文件 SkyWispsLayer.h 第 86 行定义.
被这些函数引用 eve::daynight::SkyRuntime::prepare().
◆ morphRate
| float eve::graphics::SkyWispsLayer::morphRate = 1 |
在文件 SkyWispsLayer.h 第 86 行定义.
被这些函数引用 eve::daynight::SkyRuntime::prepare().
◆ movement
| std::array<float, 2> eve::graphics::SkyWispsLayer::movement {-1, 0} |
在文件 SkyWispsLayer.h 第 84 行定义.
◆ opacity
| float eve::graphics::SkyWispsLayer::opacity = .2f |
在文件 SkyWispsLayer.h 第 87 行定义.
◆ opticalCycleEnabled
| bool eve::graphics::SkyWispsLayer::opticalCycleEnabled = false |
Opt-in source optical cycle, prepared as an immutable height-sampled LUT volume.
在文件 SkyWispsLayer.h 第 57 行定义.
◆ starsNoiseTexture
| const ShaderImageInput* eve::graphics::SkyWispsLayer::starsNoiseTexture = nullptr |
在文件 SkyWispsLayer.h 第 61 行定义.
◆ starsTexture
| const ShaderImageInput* eve::graphics::SkyWispsLayer::starsTexture = nullptr |
Optional star/noise uploads, borrowed through preparation only; required by daylightEnabled.
在文件 SkyWispsLayer.h 第 60 行定义.
◆ staticClouds
| bool eve::graphics::SkyWispsLayer::staticClouds = false |
在文件 SkyWispsLayer.h 第 89 行定义.
◆ sunDiskColor
| std::array<float, 3> eve::graphics::SkyWispsLayer::sunDiskColor {0, 0, 0} |
Solar disk RGB radiance; zero disables it. Copied at preparation, independent of light irradiance.
在文件 SkyWispsLayer.h 第 72 行定义.
◆ sunDiskCurve
| std::array<std::array<float, 4>, 12> eve::graphics::SkyWispsLayer::sunDiskCurve {} |
Optional RGB elevation curves: four (height,value,arrive tangent,leave tangent) keys per channel. Values scale disk radiance relative to each channel's final key; heights are (1+sunDirection.y)/2. Unweighted cubic Hermite interpolation with constant endpoint extrapolation; no clock is retained.
在文件 SkyWispsLayer.h 第 69 行定义.
◆ sunDiskCurveEnabled
| bool eve::graphics::SkyWispsLayer::sunDiskCurveEnabled = false |
在文件 SkyWispsLayer.h 第 70 行定义.
◆ sunDiskShape
Angular radius in radians, positive edge exponent and nonnegative reflection multiplier.
在文件 SkyWispsLayer.h 第 74 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/sky/SkyWispsLayer.h