Owning vegetation translucency controls, evaluated per light after normal mapping. Intensity zero disables the contribution. Color is linear HDR; intensity, direct, ambient, shadow, maskAmount, and normalDistortion are [0,1], strength is [0,50], and scattering is [1,50]. Global/overlay multipliers are finite nonnegative values. 更多...
#include <PbrSurface.h>
Public 属性 | |
| std::array< float, 3 > | color {1, 1, 1} |
| float | intensity = 0 |
| float | strength = 1 |
| float | normalDistortion = .5f |
| float | scattering = 2 |
| float | direct = .9f |
| float | ambient = .1f |
| float | shadow = .5f |
| float | maskAmount = 0 |
| float | globalIntensity = 1 |
| float | overlay = 1 |
| float | maskMinimum = 0 |
| Independent ORM-alpha endpoints in [0,1]. Reversed ranges are valid; maximum-minimum+0.0001 must be nonzero. | |
| float | maskMaximum = 0 |
详细描述
Owning vegetation translucency controls, evaluated per light after normal mapping. Intensity zero disables the contribution. Color is linear HDR; intensity, direct, ambient, shadow, maskAmount, and normalDistortion are [0,1], strength is [0,50], and scattering is [1,50]. Global/overlay multipliers are finite nonnegative values.
- Values have no external lifetime, callbacks or thread affinity; publishing the containing PbrSurface follows the graphics submission contract.
在文件 PbrSurface.h 第 59 行定义.
类成员变量说明
◆ ambient
| float eve::graphics::PbrTranslucency::ambient = .1f |
在文件 PbrSurface.h 第 62 行定义.
◆ color
| std::array<float, 3> eve::graphics::PbrTranslucency::color {1, 1, 1} |
在文件 PbrSurface.h 第 60 行定义.
◆ direct
| float eve::graphics::PbrTranslucency::direct = .9f |
在文件 PbrSurface.h 第 62 行定义.
◆ globalIntensity
| float eve::graphics::PbrTranslucency::globalIntensity = 1 |
在文件 PbrSurface.h 第 63 行定义.
◆ intensity
| float eve::graphics::PbrTranslucency::intensity = 0 |
在文件 PbrSurface.h 第 61 行定义.
◆ maskAmount
| float eve::graphics::PbrTranslucency::maskAmount = 0 |
在文件 PbrSurface.h 第 62 行定义.
◆ maskMaximum
| float eve::graphics::PbrTranslucency::maskMaximum = 0 |
在文件 PbrSurface.h 第 67 行定义.
◆ maskMinimum
| float eve::graphics::PbrTranslucency::maskMinimum = 0 |
Independent ORM-alpha endpoints in [0,1]. Reversed ranges are valid; maximum-minimum+0.0001 must be nonzero.
在文件 PbrSurface.h 第 67 行定义.
◆ normalDistortion
| float eve::graphics::PbrTranslucency::normalDistortion = .5f |
在文件 PbrSurface.h 第 61 行定义.
◆ overlay
| float eve::graphics::PbrTranslucency::overlay = 1 |
在文件 PbrSurface.h 第 63 行定义.
◆ scattering
| float eve::graphics::PbrTranslucency::scattering = 2 |
在文件 PbrSurface.h 第 61 行定义.
◆ shadow
| float eve::graphics::PbrTranslucency::shadow = .5f |
在文件 PbrSurface.h 第 62 行定义.
◆ strength
| float eve::graphics::PbrTranslucency::strength = 1 |
在文件 PbrSurface.h 第 61 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/PbrSurface.h