Files
Foundry-VTT-Docker/resources/app/node_modules/@pixi/text-bitmap/lib/shader/msdf.vert.mjs
2025-01-04 00:34:03 +01:00

22 lines
538 B
JavaScript

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