载入中...
搜索中...
未找到
GPU light packing for mesh3d / PBR (std140-friendly). 更多...
#include <Light.h>
Public 属性 | |
| glm::vec4 | posRadius {0.f} |
| glm::vec4 | color {0.f} |
| glm::vec4 | spot {0.f, 0.f, 0.f, -1.f} |
| Spot cone: xyz = world beam direction; w = spotScale (1/(cosInner-cosOuter)). w <= 0 means the light is not a spot (point or directional). | |
详细描述
类成员变量说明
◆ color
| glm::vec4 eve::graphics::Light3DGpu::color {0.f} |
◆ posRadius
| glm::vec4 eve::graphics::Light3DGpu::posRadius {0.f} |
◆ spot
该结构体的文档由以下文件生成:
- src/modules/graphics/Light.h