Home
last modified time | relevance | path

Searched refs:reflectance (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dmaterial_impl.cpp566 … if (auto reflectance = meta->GetPropertyByName(SCENE_NS::IMaterial::MAPPED_INPUTS_REFLECTANCE)) { in UpdateInputProperties() local
568 meta->RemoveProperty(reflectance); in UpdateInputProperties()
571 …auto reflectance = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_REFLECTANC… in UpdateInputProperties() local
572 meta->AddProperty(reflectance); in UpdateInputProperties()
756 … if (auto reflectance = meta->GetPropertyByName(SCENE_NS::IMaterial::MAPPED_INPUTS_REFLECTANCE)) { in BindInputProperties() local
757 … BindChanges<BASE_NS::Math::Vec4, float>(GET_HOLDER(meta), META_NS::Property<float>(reflectance), in BindInputProperties()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp1597 auto reflectance = (gltfMaterial.ior.ior - 1.f) / (gltfMaterial.ior.ior + 1.f); in FillIor() local
1598 … desc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w = reflectance * reflectance; in FillIor()