message: gltfio-lite: fix UBO errors.
diff: @@ -159,13 +159,15 @@ MaterialInstance* UbershaderLoader::createMaterialInstance(MaterialKey* config,
  getUvIndex(config->metallicRoughnessUV, config->hasMetallicRoughnessTexture));
  mi->setParameter("aoIndex", getUvIndex(config->aoUV, config->hasOcclusionTexture));
  mi->setParameter("emissiveIndex", getUvIndex(config->emissiveUV, config->hasEmissiveTexture));
  - mi->setParameter("clearCoatIndex", getUvIndex(config->clearCoatUV, config->hasClearCoatTexture));
  - mi->setParameter("clearCoatRoughnessIndex", getUvIndex(config->clearCoatRoughnessUV, config->hasClearCoatRoughnessTexture));
  - mi->setParameter("clearCoatNormalIndex", getUvIndex(config->clearCoatNormalUV, config->hasClearCoatNormalTexture));
  mi->setDoubleSided(config->doubleSided);
  mi->setCullingMode(config->doubleSided ? CullingMode::NONE : CullingMode::BACK);
  + #if !GLTFIO_LITE
  + mi->setParameter("clearCoatIndex", getUvIndex(config->clearCoatUV, config->hasClearCoatTexture));
  + mi->setParameter("clearCoatRoughnessIndex", getUvIndex(config->clearCoatRoughnessUV, config->hasClearCoatRoughnessTexture));
  + mi->setParameter("clearCoatNormalIndex", getUvIndex(config->clearCoatNormalUV, config->hasClearCoatNormalTexture));
  +
  mat3f identity;
  mi->setParameter("baseColorUvMatrix", identity);
  mi->setParameter("metallicRoughnessUvMatrix", identity);
  @@ -175,6 +177,7 @@ MaterialInstance* UbershaderLoader::createMaterialInstance(MaterialKey* config,
  mi->setParameter("clearCoatUvMatrix", identity);
  mi->setParameter("clearCoatRoughnessUvMatrix", identity);
  mi->setParameter("clearCoatNormalUvMatrix", identity);
  + #endif
  // Some WebGL implementations emit a warning at draw call time if the shader declares a sampler
  // that has not been bound to a texture, even if the texture lookup is conditional. Therefore we
  