Initial
This commit is contained in:
21
resources/app/node_modules/@pixi/text-bitmap/lib/shader/msdf.vert.js
generated
vendored
Normal file
21
resources/app/node_modules/@pixi/text-bitmap/lib/shader/msdf.vert.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: !0 });
|
||||
var msdfVert = `// Mesh material default fragment\r
|
||||
attribute vec2 aVertexPosition;\r
|
||||
attribute vec2 aTextureCoord;\r
|
||||
\r
|
||||
uniform mat3 projectionMatrix;\r
|
||||
uniform mat3 translationMatrix;\r
|
||||
uniform mat3 uTextureMatrix;\r
|
||||
\r
|
||||
varying vec2 vTextureCoord;\r
|
||||
\r
|
||||
void main(void)\r
|
||||
{\r
|
||||
gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\r
|
||||
\r
|
||||
vTextureCoord = (uTextureMatrix * vec3(aTextureCoord, 1.0)).xy;\r
|
||||
}\r
|
||||
`;
|
||||
exports.default = msdfVert;
|
||||
//# sourceMappingURL=msdf.vert.js.map
|
||||
Reference in New Issue
Block a user