FLightmassPrimitiveSettings

Per-object settings for Lightmass

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FLightmassPrimitiveSettings

Remarks

Per-object settings for Lightmass

Variables

Name Description

Public variable

uint32 : 1

 

bShadowIndirectOnly

If true, this object will only shadow indirect lighting.

Public variable

uint32 : 1

 

bUseEmissiveForStaticLighting

If true, allow using the emissive for static lighting.

Public variable

uint32 : 1

 

bUseTwoSidedLighting

If true, this object will be lit as if it receives light from both sides of its polygons.

Public variable

uint32 : 1

 

bUseVertexNormalForHemisphereGather

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

Public variable

float

 

DiffuseBoost

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

Public variable

float

 

EmissiveBoost

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

Public variable

float

 

EmissiveLightExplicitInfluenceRadius

Direct lighting influence radius.

Public variable

float

 

EmissiveLightFalloffExponent

Direct lighting falloff exponent for mesh area lights created from emissive areas on this primitive.

Public variable

float

 

FullyOccludedSamplesFraction

Fraction of samples taken that must be occluded in order to reach full occlusion.

Constructors

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback