浏览代码

Fixing WireFrame2D shader name

nockawa 8 年之前
父节点
当前提交
116c6f7e63

+ 2 - 2
canvas2D/src/Engine/babylon.wireFrame2d.ts

@@ -381,11 +381,11 @@
             // Get the instanced version of the effect, if the engine does not support it, null is return and we'll only draw on by one
             let ei = this.getDataPartEffectInfo(WireFrame2D.WIREFRAME2D_MAINPARTID, ["pos", "col"], [], true);
             if (ei) {
-                renderCache.effectInstanced = engine.createEffect("wireframe2D", ei.attributes, ei.uniforms, [], ei.defines, null);
+                renderCache.effectInstanced = engine.createEffect("wireframe2d", ei.attributes, ei.uniforms, [], ei.defines, null);
             }
 
             ei = this.getDataPartEffectInfo(WireFrame2D.WIREFRAME2D_MAINPARTID, ["pos", "col"], [], false);
-            renderCache.effect = engine.createEffect("wireframe2D", ei.attributes, ei.uniforms, [], ei.defines, null);
+            renderCache.effect = engine.createEffect("wireframe2d", ei.attributes, ei.uniforms, [], ei.defines, null);
 
             return renderCache;
         }

+ 2 - 2
dist/preview release/canvas2D/babylon.canvas2d.js

@@ -10999,10 +10999,10 @@ var BABYLON;
             // Get the instanced version of the effect, if the engine does not support it, null is return and we'll only draw on by one
             var ei = this.getDataPartEffectInfo(WireFrame2D_1.WIREFRAME2D_MAINPARTID, ["pos", "col"], [], true);
             if (ei) {
-                renderCache.effectInstanced = engine.createEffect("wireframe2D", ei.attributes, ei.uniforms, [], ei.defines, null);
+                renderCache.effectInstanced = engine.createEffect("wireframe2d", ei.attributes, ei.uniforms, [], ei.defines, null);
             }
             ei = this.getDataPartEffectInfo(WireFrame2D_1.WIREFRAME2D_MAINPARTID, ["pos", "col"], [], false);
-            renderCache.effect = engine.createEffect("wireframe2D", ei.attributes, ei.uniforms, [], ei.defines, null);
+            renderCache.effect = engine.createEffect("wireframe2d", ei.attributes, ei.uniforms, [], ei.defines, null);
             return renderCache;
         };
         WireFrame2D.prototype._updateVertexBuffer = function (mrc) {

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/canvas2D/babylon.canvas2d.min.js