Skip to content

Instantly share code, notes, and snippets.

@cecilemuller
Created May 1, 2019 11:32
Show Gist options
  • Save cecilemuller/20377105e96c7527f1fb0b368a87a3ac to your computer and use it in GitHub Desktop.
Save cecilemuller/20377105e96c7527f1fb0b368a87a3ac to your computer and use it in GitHub Desktop.
Generate a DDS cubemap from 6 JPEG images
texassemble cube -w 1024 -h 1024 -o cubemap.dds px.jpg nx.jpg py.jpg ny.jpg pz.jpg nz.jpg
texconv cubemap.dds -m 0 -y -f BC1_UNORM
@adelalfusail
Copy link

negx
negy
negz
posx
posy
posz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment