public interface TextureBlender
Modifier and Type | Field and Description |
---|---|
static int |
MTEX_ADD |
static int |
MTEX_BLEND |
static int |
MTEX_BLEND_COLOR |
static int |
MTEX_BLEND_HUE |
static int |
MTEX_BLEND_SAT |
static int |
MTEX_BLEND_VAL |
static int |
MTEX_DARK |
static int |
MTEX_DIFF |
static int |
MTEX_DIV |
static int |
MTEX_LIGHT |
static int |
MTEX_MUL |
static int |
MTEX_NUM_BLENDTYPES |
static int |
MTEX_OVERLAY |
static int |
MTEX_SCREEN |
static int |
MTEX_SUB |
Modifier and Type | Method and Description |
---|---|
Image |
blend(Image image,
Image baseImage,
BlenderContext blenderContext)
This method blends the given texture with material color and the defined
color in 'map to' panel.
|
void |
copyBlendingData(TextureBlender textureBlender)
Copies blending data.
|
static final int MTEX_BLEND
static final int MTEX_MUL
static final int MTEX_ADD
static final int MTEX_SUB
static final int MTEX_DIV
static final int MTEX_DARK
static final int MTEX_DIFF
static final int MTEX_LIGHT
static final int MTEX_SCREEN
static final int MTEX_OVERLAY
static final int MTEX_BLEND_HUE
static final int MTEX_BLEND_SAT
static final int MTEX_BLEND_VAL
static final int MTEX_BLEND_COLOR
static final int MTEX_NUM_BLENDTYPES
Image blend(Image image, Image baseImage, BlenderContext blenderContext)
image
- the image we use in blendingbaseImage
- the texture that is underneath the current texture (its pixels
will be used instead of material color)blenderContext
- the blender contextvoid copyBlendingData(TextureBlender textureBlender)
textureBlender
- the blend data that should be copied