diff options
author | clayjohn <claynjohn@gmail.com> | 2021-08-15 23:37:24 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-02-22 19:39:41 -0800 |
commit | fe492446111ac9f8ae8186d360cdb2dcebece3da (patch) | |
tree | 370fea4feeb2101ae2cb68a596091d7ab8a6b2bd /modules/fbx/data | |
parent | 002ab1060862431731cd528a0887ad8362ab404c (diff) |
Use Filament specular models and parametrization
Diffstat (limited to 'modules/fbx/data')
-rw-r--r-- | modules/fbx/data/fbx_material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/data/fbx_material.cpp b/modules/fbx/data/fbx_material.cpp index bc638244d8..36e20df3a9 100644 --- a/modules/fbx/data/fbx_material.cpp +++ b/modules/fbx/data/fbx_material.cpp @@ -426,7 +426,7 @@ Ref<StandardMaterial3D> FBXMaterial::import_material(ImportState &state) { // meaning is that approx equal to zero is disabled not actually zero. ;) if (real_value && Math::is_zero_approx(real_value->Value())) { print_verbose("clearcoat real value: " + rtos(real_value->Value())); - spatial_material->set_clearcoat_gloss(1.0 - real_value->Value()); + spatial_material->set_clearcoat_roughness(real_value->Value()); } else { print_error("unsupported value type for clearcoat gloss"); } |