declare const _default: "\n localPos *= particle_vertexData2.y * emitterScale;\n\n #ifdef SCREEN_SPACE\n // clip space spans the viewport width in x and its height in y, so scale the offset x by\n // height / width to keep the particle square, sized relative to the viewport height\n localPos.x *= viewport_size.y * viewport_size.z;\n #endif\n\n localPos += particlePos;\n\n #ifdef SCREEN_SPACE\n gl_Position = vec4(localPos.x, localPos.y, 0.0, 1.0);\n #else\n gl_Position = matrix_viewProjection * vec4(localPos, 1.0);\n #endif\n"; export default _default;