FSignedDistanceFieldShadowSample

Windows
MacOS
Linux

Syntax

struct FSignedDistanceFieldShadowSample

Variables

Name Description

Public variable

float

 

Distance

Normalized and encoded distance to the nearest shadow transition, in the range [0, 1], where .5 is at the transition.

Public variable

bool

 

IsMapped

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

Public variable

float

 

PenumbraSize

Normalized penumbra size, in the range [0,1].

References

Module

Engine

Header

Runtime/Engine/Public/ShadowMap.h

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