载入中...
搜索中...
未找到
eve::graphics::ShadowConfig结构体 参考

#include <Shadow.h>

静态 Public 属性

static constexpr int kCascades = 3
 
static constexpr int kMapSize = 2048
 
static constexpr float kSplitLambda = 0.7f
 
static constexpr float kMaxDistance = 64.f
 

详细描述

在文件 Shadow.h7 行定义.

类成员变量说明

◆ kCascades

◆ kMapSize

constexpr int eve::graphics::ShadowConfig::kMapSize = 2048
staticconstexpr

在文件 Shadow.h9 行定义.

◆ kMaxDistance

constexpr float eve::graphics::ShadowConfig::kMaxDistance = 64.f
staticconstexpr

Practical CSM range. Camera far planes for large architecture are often hundreds of meters; 3×2048² cascades over that range have no resolution.

在文件 Shadow.h13 行定义.

被这些函数引用 eve::graphics::buildDirectionalCSM().

◆ kSplitLambda

constexpr float eve::graphics::ShadowConfig::kSplitLambda = 0.7f
staticconstexpr

在文件 Shadow.h10 行定义.

被这些函数引用 eve::graphics::buildDirectionalCSM().


该结构体的文档由以下文件生成: