载入中...
搜索中...
未找到
VegetationRender.h
浏览该文件的文档.
28 float wetnessCoverage = 1.f, wetnessContrast = .5f, overlayCoverage = 1.f, overlayVariation = .5f;
47 Graphics& graphics, Mesh& mesh, const VegetationField& field, std::span<const VegetationVertex> vertices,
48 const VegetationMotion& motion, std::span<const float> texcoords, std::span<const uint32_t> indices);
Move-only, checked operation results for the common layer.
Definition Graphics.h:125
Packages shading method + surface parameters into one attachable asset.
Definition Material.h:35
Backend-independent, owning vegetation influence field. Single writer; concurrent const evaluation is...
Definition VegetationField.h:86
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
PbrVegetationBackfaceNormalMode
TVE tangent-space normal treatment for back-facing fragments.
Definition PbrSurface.h:18
Result< void > applyVegetationSurface(Material &material, const VegetationSample &sample, const VegetationSurface &surface)
Apply an independently sampled field to a masked double-sided PBR material. Render-thread only,...
Definition VegetationRender.cpp:56
Result< void > updateVegetationMesh(Graphics &graphics, Mesh &mesh, const VegetationField &field, std::span< const VegetationVertex > vertices, const VegetationMotion &motion, std::span< const float > texcoords, std::span< const uint32_t > indices)
Deform rest geometry then update an existing mesh through the active Graphics backend....
Definition VegetationRender.cpp:22
@ Graphics
Source-equivalent plant motion parameters with explicit time and texture inputs. All data is owned....
Definition VegetationMotion.h:38
Owning sampled field channels; no lifetime dependency on the field.
Definition VegetationField.h:61
Owning surface inputs, supplied afresh to avoid accumulating tint/wetness across frames....
Definition VegetationRender.h:24
float overlaySmoothness
Definition VegetationRender.h:27
bool invertVertexOcclusionColors
Definition VegetationRender.h:34
float wetnessContrast
Definition VegetationRender.h:28
float overlayProjection
Definition VegetationRender.h:29
float overlayNormalScale
Definition VegetationRender.h:30
float colorsVariation
Definition VegetationRender.h:32
float vertexOcclusionMaximum
Definition VegetationRender.h:33
float wetnessCoverage
Definition VegetationRender.h:28
std::array< float, 3 > vertexOcclusionColor
Definition VegetationRender.h:26
float vertexOcclusionAlpha
Definition VegetationRender.h:29
float wetnessNormalScale
Definition VegetationRender.h:30
float vertexOcclusionMinimum
Definition VegetationRender.h:33
float overlayVariation
Definition VegetationRender.h:28
bool invertVertexOcclusion
Definition VegetationRender.h:34
PbrVegetationBackfaceNormalMode backfaceNormalMode
Definition VegetationRender.h:35
std::array< float, 3 > emission
Definition VegetationRender.h:26
float colorsCoverage
Definition VegetationRender.h:32
float overlaySubsurface
Definition VegetationRender.h:31
float overlayCoverage
Definition VegetationRender.h:28
std::array< float, 3 > overlayColor
Definition VegetationRender.h:26
std::array< float, 4 > albedo
Definition VegetationRender.h:25
float colorsIntensity
Definition VegetationRender.h:32