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

Per-object settings for Lightmass 更多...

#include <EngineTypes.h>

Public 属性

uint32 bShadowIndirectOnly:1
 If true, this object will only shadow indirect lighting. 更多...
 
uint32 bUseEmissiveForStaticLighting:1
 If true, allow using the emissive for static lighting. 更多...
 
uint32 bUseTwoSidedLighting:1
 If true, this object will be lit as if it receives light from both sides of its polygons.
 
uint32 bUseVertexNormalForHemisphereGather:1
 Typically the triangle normal is used for hemisphere gathering which prevents incorrect self-shadowing from artist-tweaked vertex normals. 更多...
 
float DiffuseBoost
 Scales the diffuse contribution of all materials applied to this object. 更多...
 
float EmissiveBoost
 Scales the emissive contribution of all materials applied to this object. 更多...
 
float EmissiveLightExplicitInfluenceRadius
 Direct lighting influence radius. 更多...
 
float EmissiveLightFalloffExponent
 Direct lighting falloff exponent for mesh area lights created from emissive areas on this primitive.
 
float FullyOccludedSamplesFraction
 Fraction of samples taken that must be occluded in order to reach full occlusion.
 

详细描述

Per-object settings for Lightmass

类成员变量说明

◆ bShadowIndirectOnly

uint32 FLightmassPrimitiveSettings::bShadowIndirectOnly

If true, this object will only shadow indirect lighting.


◆ bUseEmissiveForStaticLighting

uint32 FLightmassPrimitiveSettings::bUseEmissiveForStaticLighting

If true, allow using the emissive for static lighting.


◆ bUseVertexNormalForHemisphereGather

uint32 FLightmassPrimitiveSettings::bUseVertexNormalForHemisphereGather

Typically the triangle normal is used for hemisphere gathering which prevents incorrect self-shadowing from artist-tweaked vertex normals.

However in the case of foliage whose vertex normal has been setup to match the underlying terrain, gathering in the direction of the vertex normal is desired.

◆ DiffuseBoost

float FLightmassPrimitiveSettings::DiffuseBoost

Scales the diffuse contribution of all materials applied to this object.


◆ EmissiveBoost

float FLightmassPrimitiveSettings::EmissiveBoost

Scales the emissive contribution of all materials applied to this object.


◆ EmissiveLightExplicitInfluenceRadius

float FLightmassPrimitiveSettings::EmissiveLightExplicitInfluenceRadius

Direct lighting influence radius.

The default is 0, which means the influence radius should be automatically generated based on the emissive light brightness. Values greater than 0 override the automatic method.


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