COLLADA2GLTF icon indicating copy to clipboard operation
COLLADA2GLTF copied to clipboard

KHR_binary_glTF 1.0 shader encoding

Open lasalvavida opened this issue 7 years ago • 1 comments

If converting to 1.0, the shaders should be embedded in the buffer instead of the less efficient Base64 uri encoding.

lasalvavida avatar Feb 18 '18 03:02 lasalvavida

Here is the relevant section in the spec.:

https://github.com/KhronosGroup/glTF/blob/master/extensions/1.0/Khronos/KHR_binary_glTF/README.md#gltf-schema-updates

To support embedded shaders and images, shader and image glTF properties have new KHR_binary_glTF extension properties that should be used instead of the uri property. See Listings 2 and 3.

andreasplesch avatar Feb 18 '18 15:02 andreasplesch