diff --git a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java index db4acc68f..1c6f2549d 100644 --- a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java +++ b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java @@ -174,6 +174,8 @@ public class TextureBlenderAWT extends AbstractTextureBlender { // float blendFactor = this.blendFactor * (1f - ((1f - pixelColor[3]) * materialColor[3])); // float oneMinusFactor = 1f - blendFactor; + float col; + switch (blendType) { case MTEX_BLEND: result[0] = blendFactor * pixelColor[0] + oneMinusFactor * materialColor[0];