Importance Sample

Importance Sample

Windows
MacOS
Linux

Distribute sample points proportional to Texture2D luminance.

Target is Importance Sampling Library

Importance Sample
Texture
Rand
X0.0
Y0.0
Samples
0
Intensity
0.0
Sample Position
X0.0
Y0.0
Sample Color
Sample Intensity
0.0
Sample Size
0.0

Inputs

Texture
Importance Texture Structure (by ref)
Rand
Vector 2D Structure (by ref)

Random 2D point with components evenly distributed between 0 and 1

Samples
Integer

Total number of samples that will be used

Intensity
Float

Total intensity for light

Outputs

Sample Position
Vector 2D Structure
Sample Color
Linear Color Structure
Sample Intensity
Float
Sample Size
Float
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss