Hello, I'm trying to use a lightmap texture starting from a png file loaded at runtime. The file is loaded correctly but the pixels are not interpreted as RGBM but as ARGB and therefore I do not get the desired result. How is it possible to force the RGBM "mode" for the texture, obviously at runtime?
Some more info: We are generating lightmap outside unity3D and we need to load them at runtime. Seems that we we check in unity inspector the "lightmap" checkbox for the thexture file unity define somewhere a special value that allow the texture to be readed using RGBM. Is there any way to import via script correctly an external lightmaps from a file?