Module |
|
Header |
/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingHelpers.h |
Include |
#include "MaterialBakingHelpers.h" |
Source |
/Engine/Source/Developer/MaterialBaking/Private/MaterialBakingHelpers.cpp |
Applies a box blur to magenta pixels found in given texture represented by InOutPixels using non-magenta pixels, this creates a smear across the magenta/filled pixels.
Parameter |
Description |
---|---|
InOutPixels |
The image to apply the smear to |
ImageWidth |
The width of the image in pixels |
ImageHeight |
The height of the image in pixels |
MaxIterations |
The max distance in pixels to smear the edges of the texture. When set to -1 this value is the max of the width and height of the buffer |