'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

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

exports.migrateFragmentFromV7toV8 = migrateFragmentFromV7toV8;
//# sourceMappingURL=migrateFragmentFromV7toV8.js.map
