فهرست منبع

ProcessShaderIncludes

sebastien 6 سال پیش
والد
کامیت
c777cabfe5
3فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 1 0
      .gitignore
  2. 3 1
      .vscode/settings.json
  3. 2 2
      Tools/Gulp/config.json

+ 1 - 0
.gitignore

@@ -164,6 +164,7 @@ node_modules
 !lib.d.ts
 *.fragment.ts
 *.vertex.ts
+**/ShadersInclude/**/*.ts
 
 # Split declaration file
 !ISplit.d.ts

+ 3 - 1
.vscode/settings.json

@@ -26,7 +26,8 @@
             "when": "$(basename).ts"
         },
         "**/*.fragment.ts": true,
-        "**/*.vertex.ts": true
+        "**/*.vertex.ts": true,
+        "**/ShadersInclude/**/*.ts": true
     },
     "files.associations": {
         "*.fx": "glsl"
@@ -45,6 +46,7 @@
         "**/*.d.ts": true,
         "**/*.fragment.ts": true,
         "**/*.vertex.ts": true,
+        "**/ShadersInclude/**/*.ts": true,
         "assets": true
     },
     "editor.tabSize": 4,

+ 2 - 2
Tools/Gulp/config.json

@@ -1513,11 +1513,11 @@
             {
                 "output": "babylon.js",
                 "maxOutput": "babylon.max.js",
-                "entry": "../src/Legacy/legacy.ts"
+                "entry": "./Legacy/legacy.ts"
             }
         ],
         "build": {
-            "webpack": "../../src/webpack.config.js",
+            "webpack": "../../../src/webpack.config.js",
             "srcDirectory": "../../src/",
             "distOutputDirectory": "/",
             "dtsBundle": {