function migrateFragmentFromV7toV8(fragmentShader) {
  fragmentShader = fragmentShader.replaceAll("texture2D", "texture").replaceAll("gl_FragColor", "fragColor").replaceAll("varying", "in");
  fragmentShader = `
        out vec4 fragColor;
    ${fragmentShader}
    `;
  return fragmentShader;
}

export { migrateFragmentFromV7toV8 };
//# sourceMappingURL=migrateFragmentFromV7toV8.mjs.map
