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. @note This version is allowed to shrink the array to a single pixel if the entire output is monochrome. Params will be adjusted accordingly when this occurs.
Parameter |
Description |
---|---|
InOutPixels |
The image to apply the smear to |
InOutImageWidth |
The width of the image in pixels |
InOutImageHeight |
The height of the image in pixels |