Set max size for the group
Prescales shading pattern packed data indices
Implements WebGL support