Initial
This commit is contained in:
21
resources/app/node_modules/@pixi/text-bitmap/lib/shader/msdf.vert.mjs
generated
vendored
Normal file
21
resources/app/node_modules/@pixi/text-bitmap/lib/shader/msdf.vert.mjs
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
`;
|
||||
export {
|
||||
msdfVert as default
|
||||
};
|
||||
//# sourceMappingURL=msdf.vert.mjs.map
|
||||
Reference in New Issue
Block a user