support alpha channels in model patterns
Merge branch 'pattern-alpha'