载入中...
搜索中...
未找到
ClusteredLight.h
浏览该文件的文档.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
ClusteredLightingUpload buildClusteredLighting(const std::vector< ClusteredLightGpu > &points, const std::vector< ClusteredLightGpu > &dirs, const glm::mat4 &view, float nearZ, float farZ, int screenW, int screenH, float fovYRad, const glm::vec4 &ambient)
Build clustered tables for point lights in view space.
Definition ClusteredLight.cpp:9
Clustered forward grid (CPU assign, GPU consume).
Definition ClusteredLight.h:12
static constexpr int kClusterCount
Definition ClusteredLight.h:16
static constexpr int kTilesY
Definition ClusteredLight.h:14
static constexpr int kMaxLights
Definition ClusteredLight.h:17
static constexpr int kSlices
Definition ClusteredLight.h:15
static constexpr int kTilesX
Definition ClusteredLight.h:13
static constexpr int kMaxLightsPerCluster
Definition ClusteredLight.h:18
CPU-built clustered lighting upload for one frame/camera. Point lights are clustered; directional lig...
Definition ClusteredLight.h:32
glm::vec4 primaryColor
Definition ClusteredLight.h:39
glm::vec4 primaryDir
Definition ClusteredLight.h:38
std::vector< ClusteredLightGpu > lights
Definition ClusteredLight.h:40
std::vector< uint32_t > lightIndices
Definition ClusteredLight.h:42
std::vector< ClusterTableEntry > clusterTable
Definition ClusteredLight.h:41