khr_materials_pbr_specular_glossiness.go 525 B

123456789101112131415
  1. package gltf
  2. import (
  3. "github.com/g3n/engine/material"
  4. )
  5. // TODO
  6. // loadMaterialUnlit receives an interface value describing a KHR_materials_pbrSpecularGlossiness extension,
  7. // decodes it and returns a Material closest to the specified description.
  8. // The specification of this extension is at:
  9. // https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness
  10. func (g *GLTF) loadMaterialPbrSpecularGlossiness(ext interface{}) (material.IMaterial, error) {
  11. return nil, nil
  12. }