+glsl macro for convenience;
scale parameter moved into Template class;