Navigation
BlueprintAPI > BlueprintAPI/Math > BlueprintAPI/Math/Random
Distribute sample points proportional to Texture2D luminance.
Target is Importance Sampling Library
Inputs
| Type | Name | Description |
|---|---|---|
| struct | Texture | |
| vector2d struct | Rand | Random 2D point with components evenly distributed between 0 and 1 |
| integer | Samples | Total number of samples that will be used |
| real | Intensity | Total intensity for light |
Outputs
| Type | Name | Description |
|---|---|---|
| vector2d struct | Sample Position | |
| linearcolor | Sample Color | |
| real | Sample Intensity | |
| real | Sample Size |