support alpha channels in model patterns