载入中...
搜索中...
未找到
Shadow.h
浏览该文件的文档.
68EVENGINE_API_BACKENDS ShadowUpload buildDirectionalCSM(const glm::vec3 &lightDirTowardSurface, const glm::vec3 &eye,
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
ShadowUpload buildDirectionalCSM(const glm::vec3 &lightDirTowardSurface, const glm::vec3 &eye, const glm::vec3 &target, const glm::vec3 &up, float fovYRad, float aspect, float nearZ, float farZ, float bias, float strength)
Build 3 cascade light view-proj matrices for a directional light.
Definition Shadow.cpp:83
ShadowMethod
How a Light3D produces real-time shadows. Auto resolves per light type (dir→CSM, spot→perspective,...
Definition Shadow.h:14
@ CubePoint
@ PerspectiveSpot
@ CascadedDirectional
static constexpr int kLocalSlots
Extra depth-array layers for spot (perspective) local shadows.
Definition Shadow.h:26
Per-frame / per-draw CSM + local-spot constants (std140).
Definition Shadow.h:36
glm::vec4 localSlot01
Per packed-light local slot index (0..3) or -1; eight floats across two vec4s.
Definition Shadow.h:45
glm::mat4 localVP[ShadowConfig::kLocalSlots]
Perspective VPs for local spot slots (layers kCascades .. kTotalLayers-1).
Definition Shadow.h:43