载入中...
搜索中...
未找到
eve::graphics::ShadowConfig结构体 参考
ShadowConfig public API. 更多...
#include <Shadow.h>
静态 Public 属性 | |
| static constexpr int | kCascades = 3 |
| static constexpr int | kLocalSlots = 4 |
| Extra depth-array layers for spot (perspective) local shadows. | |
| static constexpr int | kTotalLayers = kCascades + kLocalSlots |
| static constexpr int | kMapSize = 2048 |
| static constexpr float | kSplitLambda = 0.7f |
| static constexpr float | kMaxDistance = 64.f |
详细描述
ShadowConfig public API.
类成员变量说明
◆ kCascades
|
staticconstexpr |
◆ kLocalSlots
|
staticconstexpr |
Extra depth-array layers for spot (perspective) local shadows.
被这些函数引用 eve::graphics::selectShadowCasters().
◆ kMapSize
◆ kMaxDistance
|
staticconstexpr |
Practical CSM range. Camera far planes for large architecture are often hundreds of meters; 3×2048² cascades over that range have no resolution.
被这些函数引用 eve::graphics::buildDirectionalCSM().
◆ kSplitLambda
|
staticconstexpr |
被这些函数引用 eve::graphics::buildDirectionalCSM().
◆ kTotalLayers
|
staticconstexpr |
该结构体的文档由以下文件生成:
- src/modules/graphics/Shadow.h