Explorar o código

Merge pull request #7689 from bghgary/specGloss-clearCoat-compat-fix

Fix order of PBR glTF extensions
David Catuhe %!s(int64=5) %!d(string=hai) anos
pai
achega
12f4df0dfb

+ 1 - 1
loaders/src/glTF/2.0/Extensions/KHR_materials_clearcoat.ts

@@ -36,7 +36,7 @@ export class KHR_materials_clearcoat implements IGLTFLoaderExtension {
     /**
      * Defines a number that determines the order the extensions are applied.
      */
-    public order = 220;
+    public order = 190;
 
     private _loader: GLTFLoader;
 

+ 1 - 1
loaders/src/glTF/2.0/Extensions/KHR_materials_sheen.ts

@@ -34,7 +34,7 @@ export class KHR_materials_sheen implements IGLTFLoaderExtension {
     /**
      * Defines a number that determines the order the extensions are applied.
      */
-    public order = 240;
+    public order = 190;
 
     private _loader: GLTFLoader;
 

+ 1 - 1
loaders/src/glTF/2.0/Extensions/KHR_materials_specular.ts

@@ -32,7 +32,7 @@ export class KHR_materials_specular implements IGLTFLoaderExtension {
     /**
      * Defines a number that determines the order the extensions are applied.
      */
-    public order = 230;
+    public order = 190;
 
     private _loader: GLTFLoader;