# Creating a dds environment file on Mac?

**URL:** <https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998>\
**Category:** Questions\
**Created:** [August 8, 2019, 8:19pm UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998 "2019-08-08T20:19:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigrig](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bigrig/32/5548_2.png) [@bigrig](https://forum.babylonjs.com/u/bigrig)\
**Post date:** [August 8, 2019, 8:19pm UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998/1 "2019-08-08T20:19:37Z")

</div>

Hi there.  
Just wondering if anyone knows how to create a DDS on Mac?  
I see the help files here: [Use a HDR environment (for PBR) - Babylon.js Documentation](https://doc.babylonjs.com/how_to/use_hdr_environment), which describe two methods for Windows. I suppose I could run a Win emulator, but hoping to avoid that.

I’m hoping to convert my 6 skybox PNGs into a DDS file, so that i can get my scene objects reflecting the correct environment.

thanks.

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [August 8, 2019, 9:01pm UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998/2 "2019-08-08T21:01:01Z")

</div>

Hi @bigrig  
I’ve used cmft in the past ( [GitHub - dariomanesku/cmft: Cross-platform open-source command-line cubemap filtering tool.](https://github.com/dariomanesku/cmft) ) on windows and there is a mac build.

Let me know if it works for you

---

<div class="post-metadata">

**Author:** ![bigrig](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bigrig/32/5548_2.png) [@bigrig](https://forum.babylonjs.com/u/bigrig)\
**Post date:** [August 10, 2019, 4:39am UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998/3 "2019-08-10T04:39:36Z")

</div>

Thanks. Will give it a go and will let you know how it works.

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [August 10, 2019, 2:44pm UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998/4 "2019-08-10T14:44:20Z")

</div>

Coming Soon in the new version of the Babylon Toolkit… All Skybox generation automatic… including support for prebaked .dds and .env (so you can get nice high res 512 environment textures in a babylon compressed file)

Note: I also use CFMT underneth to generate the .dds files… I use my native C# unity code split and pre baked 6 sided skyboxes for babylon scene as well

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [August 10, 2019, 2:53pm UTC](https://forum.babylonjs.com/t/creating-a-dds-environment-file-on-mac/4998/5 "2019-08-10T14:53:36Z")

</div>

> [@bigrig](#):
>
> I’m hoping to convert my 6 skybox PNGs into a DDS file, so that i can get my scene objects reflecting the correct environment.

FYI… You should **not** use your **Six Sided LDR** images to generate your **HDR**.dds files . … You get **sooooo** much better quality using a **BIG HDR** Skybox images (from like HDR Skyboxes or something)… Pump somthing like a **8K** image… into the converter which can make nice high res (but still jpeg if you prefer) at 2048 six sided images WITHOUT having to **scale** your sky… If there is scaling… it shows in the sky.

Pump the same high res hdr in the converter… this time making your environment (reflections) and choose the desired reflection size you want 128, 256, 512. and let the tools **scale down** that nice big hdr into your final .dds for reflections… The final output in babylon will be **WAY BETTER**

This is my workflow for automatically generating skyboxes and reflections using the Babylon Toolkit 🙂
