Skip to content

ux3d/pbr2gltf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBR To glTF 2.0 converter

pbr2gltf2 is a command line tool for converting PBR images to a glTF 2.0 material. The tool is detecting depending on the filename, which PBR information is stored. It swizzles the images and does reassign the channels to a glTF 2.0 image. The tool stores the images plus a minimal, valid glTF 2.0 file containing the required material, textures and images.

Usage: pbr2gltf2.exe folder [-m 1.0 -r 1.0 -n true -e true]

-m 1.0 Default metallic factor value, if no metallic image was found.
-r 1.0 Default roughness factor value, if no roughness image was found.
-n true Keep original normal image data.
-e true Keep original emissive image data.

Software Requirements

Supported PBR packages

Import the generated glTF

Import the generated glTF in e.g. Gestaltor and reuse in your scene.

A short tutorial can be found here: Gestaltor - How to rescale a texture.

About

Convert PBR images to a glTF material

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published