/GLTF

GLTF Unity Workflow

Creating GLB 3d NFTs

Create your model in a 3d program such as Blender / Maya / Cinema4d and export to a format that Unity3d can handle. (FBX, OBJ + UV Mapped Textures)

Import the file into Unity3d project

Configure the object, and materials. For this particular model, we used PNGs, and alpha transparecy to create the "cut out look" of the PNGs. We used the Standard Shader. For this artwork, we made copies of the transparent images, then flipped the normals to -1 zspace so that the normals faced the other way to simulate backface culling = off. This was a wrok around to using a shader that supports double sided textures.

Import plugin, PlatterGLTF Exporter, and drag a prefab of the object into the exporter. https://github.com/Plattar/gltf-exporter

  1. Export GLTF by putting a 'prefab' into the exporter

  2. Unzip the GLTF file into a folder

  3. Use https://glb-packer.glitch.me/ by dragging the contents of folder into the web browser. This will output a 'out.glb file and ask you to save it'

  4. Check to see if GLB file looks right in an online browser. https://sandbox.babylonjs.com/