added support for glowmaps