About Stream download light maps .

Hi,
Guys,
I created a game scene , and built light maps of it .
But the light maps’ files occupied so much spaces after packaged .
So I want to streamly download them after the scene started .
Is it possible ? How ?
THX.

Can I change the .exr format lightmaps to other format , such as PNG ?
The .exr format is too large…

It’s completely possible to stream in lightmaps but there is a bit of a trick to get them working once you’ve got them. The following code snippet while load a single lightmap from a streamed asset bundle.

	    Instantiate(www.assetBundle.mainAsset);
	    var tex = www.assetBundle.Load("LightmapFar-0") as Texture2D;
        var lmData = new LightmapData();
	    lmData.lightmapFar = tex;
	    var lmDataSet = new LightmapData[1];
	    lmDataSet[0] = lmData;
        LightmapSettings.lightmapsMode = LightmapsMode.Single;
	    LightmapSettings.lightmaps = lmDataSet;