declare const _default: "\n\n// stores the source UV and order of the splat\nstruct SplatSource {\n    order: u32,         // render order\n    id: u32,            // splat id\n    uv: vec2<i32>,      // splat uv\n    cornerUV: vec2f,    // corner coordinates for this vertex of the gaussian (-1, -1)..(1, 1)\n}\n\n// stores the camera and clip space position of the gaussian center\nstruct SplatCenter {\n    view: vec3f,          // center in view space\n    proj: vec4f,          // center in clip space\n    modelView: mat4x4f,   // model-view matrix\n    projMat00: f32,       // elememt [0][0] of the projection matrix\n}\n\n// stores the offset from center for the current gaussian\nstruct SplatCorner {\n    offset: vec2f,        // corner offset from center in clip space\n    uv: vec2f,            // corner uv\n    #if GSPLAT_AA\n        aaFactor: f32, // for scenes generated with antialiasing\n    #endif\n}\n\n#include \"gsplatEvalSHVS\"\n#include \"gsplatQuatToMat3VS\"\n\n#if GSPLAT_COMPRESSED_DATA\n    #include \"gsplatCompressedDataVS\"\n    #if SH_BANDS > 0\n        #include \"gsplatCompressedSHVS\"\n    #endif\n#elif GSPLAT_SOGS_DATA\n    #include \"gsplatSogsDataVS\"\n    #include \"gsplatSogsColorVS\"\n    #if SH_BANDS > 0\n        #include \"gsplatSogsSHVS\"\n    #endif\n#else\n    #include \"gsplatDataVS\"\n    #include \"gsplatColorVS\"\n    #if SH_BANDS > 0\n        #include \"gsplatSHVS\"\n    #endif\n#endif\n\n#include \"gsplatSourceVS\"\n#include \"gsplatCenterVS\"\n#include \"gsplatCornerVS\"\n#include \"gsplatOutputVS\"\n\n// modify the gaussian corner so it excludes gaussian regions with alpha less than 1/255\nfn clipCorner(corner: ptr<function, SplatCorner>, alpha: f32) {\n    let clip: f32 = min(1.0, sqrt(-log(1.0 / (255.0 * alpha))) / 2.0);\n    corner.offset = corner.offset * clip;\n    corner.uv = corner.uv * clip;\n}\n\n";
export default _default;
