|
@@ -181,7 +181,9 @@ Class Gltf2Loader
|
|
|
Endif
|
|
|
|
|
|
Local mat:=New PbrMaterial( boned )
|
|
|
-
|
|
|
+
|
|
|
+ mat.Uniforms.LinearColors=True
|
|
|
+
|
|
|
mat.ColorFactor=New Color( material.baseColorFactor.x,material.baseColorFactor.y,material.baseColorFactor.z )
|
|
|
mat.MetalnessFactor=material.metallicFactor
|
|
|
mat.RoughnessFactor=material.roughnessFactor
|