public SupComMap(SupCom.ScmapFile map) : base(new SupComMapLoader.Heightmap(map), 33, 10000.0f / 16.0f, 0.15f) { MapFile = map; TextureLoader loader = new TextureLoader(); Normal = loader.LoadDDS(new MemoryStream(MapFile.NormalmapData)); Mask = loader.LoadDDS(new MemoryStream(MapFile.TexturemapData)); }
public SupComMap(SupCom.ScmapFile map) : base(new SupComMapLoader.Heightmap(map),33,10000.0f / 16.0f,0.15f) { MapFile = map; TextureLoader loader = new TextureLoader(); Normal = loader.LoadDDS(new MemoryStream(MapFile.NormalmapData)); Mask = loader.LoadDDS(new MemoryStream(MapFile.TexturemapData)); }