Make Importance Texture

Make Importance Texture

Windows
MacOS
Linux

Create an FImportanceTexture object for texture-driven importance sampling from a 2D RGBA8 texture

Target is Importance Sampling Library

Make Importance Texture
Texture
Select Asset
Weighting Func
Luminance
Return Value

Inputs

Texture
Texture 2D Object Reference

Texture object to use. Must be RGBA8 format.

Weighting Func
EImportanceWeight Enum

How to turn the texture data into probability weights

Outputs

Return Value
Importance Texture Structure

new ImportanceTexture object for use with ImportanceSample

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss