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

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