engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FLightSample结构体 参考

Incident lighting for a single sample, as produced by a lighting build. 更多...

#include <LightMap.h>

Public 成员函数

 FLightSample ()
 Initialization constructor.
 

Public 属性

bool bIsMapped
 True if this sample maps to a valid point on a triangle. 更多...
 
float Coefficients [NUM_STORED_LIGHTMAP_COEF][3]
 Coefficients[0] stores the normalized average color, Coefficients[1] stores the maximum color component in each lightmap basis direction, and Coefficients[2] stores the simple lightmap which is colored incident lighting along the vertex normal.
 

详细描述

Incident lighting for a single sample, as produced by a lighting build.

FGatheredLightSample is used for gathering lighting instead of this format as FLightSample is not additive.

类成员变量说明

◆ bIsMapped

bool FLightSample::bIsMapped

True if this sample maps to a valid point on a triangle.

This is only meaningful for texture lightmaps.


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