// Do not edit. import { ShaderStore } from "../Engines/shaderStore.js"; const name = "postprocessVertexShader"; const shader = `attribute position: vec2;uniform scale: vec2;varying vUV: vec2;const madd=vec2(0.5,0.5); #define CUSTOM_VERTEX_DEFINITIONS @vertex fn main(input : VertexInputs)->FragmentInputs { #define CUSTOM_VERTEX_MAIN_BEGIN vertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0); #define CUSTOM_VERTEX_MAIN_END } `; // Sideeffect ShaderStore.ShadersStoreWGSL[name] = shader; /** @internal */ export const postprocessVertexShader = { name, shader }; //# sourceMappingURL=postprocess.vertex.js.map