Pārlūkot izejas kodu

Update pbr rough to be a PG

David Catuhe 6 gadi atpakaļ
vecāks
revīzija
52a6db4e2e
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 0
      src/Engines/engine.ts
  2. 1 2
      tests/validation/config.json

+ 1 - 0
src/Engines/engine.ts

@@ -1091,6 +1091,7 @@ export class Engine {
             }
 
             // GL
+            options.disableWebGL2Support = true;
             if (!options.disableWebGL2Support) {
                 try {
                     this._gl = <any>(canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));

+ 1 - 2
tests/validation/config.json

@@ -580,8 +580,7 @@
         },
         {
             "title": "PBR rough",
-            "scriptToRun": "/Demos/PBRRough/index.js",
-            "functionToCall": "CreatePBRRoughScene",
+            "playgroundId": "#PI9IE8#0",
             "referenceImage": "pbrrough.png"
         },
         {