From PopcornFX
Jump to navigation Jump to search
! IMPORTANT ! This is a PopcornFX v1 page. PopcornFX v2 UE4 plugin documentation can be found here

(last edit version: v0.3.0)

Texture sampling

In order to have a an effect using the texture sampling working, you will need to setup your sampled texture the right way.

The Unreal Engine texture compression system is unnecessary for the PopcornFX runtime, we need the texture's raw data, mipmaps excluded.

This might evolve in the future, but not for now.

Correctly Setup your Textures for Sampling

  • Make sure that the texture your effect is sampling was successfully imported in the editor.
  • Right click -> Edit or simply double click on your texture asset.
  • Under the Level of Detail category: change the LOD Group to ColorLookupTable

This will disable the texture's mipmapping and compression, fallbacking to a pixel format we handle.

Currently, the only pixel format we handle is B8G8R8A8.