does your light map have an alpha channel? bmap_getcolor at the moment only works with 888 format but with alpha channel the format is 8888.