VertexMaskToImage
Converts a VertexMask
into an Image
.
Inputs
- Vertex Mask
VertexMask
An input vertex mask.- Geometry
Geometry
A geometry for a Vertex Mask.
Output
Image
4 channel texture with imprinted vertex mask.
Parameters
- Resolution:
result image width and height in pixels
- Mask Color:
color of pixels with non-zero mask weights
- Surface Color:
color of pixels with zero mask weights
- Background Color:
color of the rest ot the result image
Note
By default result image background is transparent, so it’s easy to extrapolate it with ExtrapolateImage for futher use.