Borrowed TVE Vertex RGBA16F array and object-level size controls. TVE Plant Standard 12.6 consumes the selected layer's alpha as the object size multiplier; RGB is preserved in the atlas but is not consumed by that shader. GPU deformation samples the model pivot XZ at LOD zero and supports unskinned object-mode meshes. A Mesh vegetation-deformation stream supplies an authored local pivot; meshes without that stream use the local origin. 更多...
#include <PbrSurface.h>
Public 属性 | |
| Texture * | texture = nullptr |
| std::array< float, 9 > | usage {} |
| std::array< float, 4 > | fallback {0, 0, 0, 1} |
| std::array< float, 4 > | coords {1, 1, 0, 0} |
| float | globalSize = 1 |
| float | sizeFadeStart = 0 |
| float | sizeFadeEnd = 100 |
| float | distanceFadeBias = 1 |
| uint32_t | layer = 0 |
| PbrVegetationDeformationSource | source = PbrVegetationDeformationSource::RestMesh |
详细描述
Borrowed TVE Vertex RGBA16F array and object-level size controls. TVE Plant Standard 12.6 consumes the selected layer's alpha as the object size multiplier; RGB is preserved in the atlas but is not consumed by that shader. GPU deformation samples the model pivot XZ at LOD zero and supports unskinned object-mode meshes. A Mesh vegetation-deformation stream supplies an authored local pivot; meshes without that stream use the local origin.
在文件 PbrSurface.h 第 153 行定义.
类成员变量说明
◆ coords
| std::array<float, 4> eve::graphics::PbrVegetationVertex::coords {1, 1, 0, 0} |
在文件 PbrSurface.h 第 156 行定义.
◆ distanceFadeBias
| float eve::graphics::PbrVegetationVertex::distanceFadeBias = 1 |
在文件 PbrSurface.h 第 157 行定义.
◆ fallback
| std::array<float, 4> eve::graphics::PbrVegetationVertex::fallback {0, 0, 0, 1} |
在文件 PbrSurface.h 第 156 行定义.
◆ globalSize
| float eve::graphics::PbrVegetationVertex::globalSize = 1 |
在文件 PbrSurface.h 第 157 行定义.
◆ layer
| uint32_t eve::graphics::PbrVegetationVertex::layer = 0 |
◆ sizeFadeEnd
| float eve::graphics::PbrVegetationVertex::sizeFadeEnd = 100 |
在文件 PbrSurface.h 第 157 行定义.
◆ sizeFadeStart
| float eve::graphics::PbrVegetationVertex::sizeFadeStart = 0 |
在文件 PbrSurface.h 第 157 行定义.
◆ source
| PbrVegetationDeformationSource eve::graphics::PbrVegetationVertex::source = PbrVegetationDeformationSource::RestMesh |
在文件 PbrSurface.h 第 159 行定义.
◆ texture
| Texture* eve::graphics::PbrVegetationVertex::texture = nullptr |
◆ usage
| std::array<float, 9> eve::graphics::PbrVegetationVertex::usage {} |
在文件 PbrSurface.h 第 155 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/PbrSurface.h