/quixel-to-three

Convert Quixel assets into Three.js compatible PBR materials

Primary LanguageJavaScript

Convert Quixel assets into Three.js compatible PBR materials

ezgif-1-5868c0f73076

Usage

npm install quixel-to-three
quixel-to-three /absolute/path/to/any/quixel/asset_2K_Albedo.jpg

Command converts a collection of Quixel assets (albedo, normals, roughness, etc.) into a corresponding Three.js PBR maps (use with MeshStandardMaterial.)

Output

Output files are placed next to the original assets with an appended t3 prefix.

Output size

You can limit output size by defining the output width.

quixel-to-three /Files/Quixel/test_4K_Normal.jpg 512

Output textures preserve aspect ratio of the original assets.

Limitations

Node processes have memory limits that are easily exceeded when trying to convert 5 x 8K textures. To save time and prevent memory errors, use with 2K or 4K Quixel textures.

ezgif-1-b594713bff95