Quixel to Three.js converter

Maybe someone will find it useful, too. We needed to use some Quixel assets in a project, and Quixel/UE4 handle PBR a bit differently - holding each parameter in a separate texture instead of channels.

Merging 2K/4K textures in Photoshop took a bit god damn long, so this messy script does it for you (output textures are 1024, or any specified resolution, scaled with nearest neighbor interpolation for extra sharpness. :crossed_swords: )

Default values for roughness and metalness follow Three.js docs when Quixel doesn’t provide texture / values for them.

4 Likes