GLTF Packer
GLTF Packer is a convenience utility intended for SecondLife users who want to pack textures into a GLTF file for upload.
At time of writing, the only way to get Lossless Normal Maps into SecondLife is to upload materials as GLTF files.
Use GLTF Packer to create .GLTF Material files from PBR Textures.
Basic Usage
- Have all relevant PBR textures in a folder together.
- Drag Base Color into Base Color slot. Other slots will Autofill, alternately, drag a texture into each slot.
- Click Save
Output:
- The application will create a folder, gltf_textures containing packed textures in the same folder as the base color image.
- The application will create a GLTF file inside the same folder as the base color image. This can be used to upload the textures to SecondLife.
Further Information
Not all Texture Slots are Required
Only the Base Color and Normal Map are required. All other texture slots can be left blank.
If no Alpha map is passed, the created Base Color texture will not have an alpha channel.
Roughness, AO and Metallic will default to 255 if left blank. This allows you to modulate the values in-world.
Emission texture will only be generated if Emission slot is populated.
Always On Top
For Convenience, GLTF Packer Defaults to Always On Top.
Toggle Always On Top using the Pin toggle in the bottom left corner of the application.
Clearing Textures
- Clear any single slot by clicking on the texture slot.
- Clear all slots by clicking the Clear button.
Autofill
GLTF Packer will autofill the texture slots based on the Base Color if the PBR Textures adhere to naming conventions.
GLTF Packer's Autofill function understands file names ending in the following
Normals _normal, _norm, _nrml, _nrm, _nor
Ambient Occlusion _ambient, _occlusion, _ao, _ambientocclusion
Metallic _metallic, _metalness, _mtl
Roughness _roughness, _rough, _roug, _rgh
Emission _emission, _emiss, _emit
Alpha _alpha, _transparency
Notices / Disclaimer
Disclaimer
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download
Download the latest release of GLTF Packer Here:
Release Notes
1.2.8961
- Added ability to resize materials
- Autofill: _ambientocclusion postfix now recognised for Ambient Occlusion
1.1.8902
- Fix drag and drop broken in previous release (Sorry!)
1.1.8900
- Support shrinking the window vertically for small monitors. The application will remember the previous height on second launch.
1.1.8888
- Autofill: _basecolor and _basecol now recognized postfix for Base Color
- Fixed Occlusion Channel is not referenced in GLTF
1.1.8788 - Bugfixes and Improvements
- Autofill: Base color slot is now case insensitive
- Autofill: _metal is now a recognized postfix for Metallic.
- Fixed all images except Base Color do not clear when clicked.
- Fixed a crash if normal map slot is not populated
1.0.8471 - Initial Release
Source Code
Find the Source Code for GLTF Packer below:-