DDS Export from Editor

How can I export a cubemap to DDS using the Editor?`
to then use:

app.assets.loadFromUrl(‘skybox.dds’, ‘cubemap’, function(err, asset) {
app.scene.skyboxMip = 2;
app.scene.setSkybox(asset.resources);
});

Thanks!

Hi @iso74,

You can’t do that directly from the editor. But if you would like to get access to compressed versions of your assets you can find them in the /files/ folder of any build exported to .zip.

Hi @Leonidas, thank you very much for your reply.
What is here the recommended way, to use JPGs or the DDS file?
Also I found some converters which could do the trick.

I think if you are using prefiltered cubemaps for HDR lighting then you can only do this with DDS files, other wise you can use any supported image file.