'use strict';

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

var _index = require('../../../index.js');

var _index2 = _interopRequireDefault(_index);

var _fragment = require('../../../webgl/fragment.js');

var _fragment2 = _interopRequireDefault(_fragment);

var _vertex = require('../../../webgl/vertex.js');

var _vertex2 = _interopRequireDefault(_vertex);

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

var _ol_render_webgl_polygonreplay_defaultshader_ = {}; // This file is automatically generated, do not edit


_ol_render_webgl_polygonreplay_defaultshader_.fragment = new _fragment2.default(_index2.default.DEBUG_WEBGL ? 'precision mediump float;\n\n\n\nuniform vec4 u_color;\nuniform float u_opacity;\n\nvoid main(void) {\n  gl_FragColor = u_color;\n  float alpha = u_color.a * u_opacity;\n  if (alpha == 0.0) {\n    discard;\n  }\n  gl_FragColor.a = alpha;\n}\n' : 'precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}');

_ol_render_webgl_polygonreplay_defaultshader_.vertex = new _vertex2.default(_index2.default.DEBUG_WEBGL ? '\n\nattribute vec2 a_position;\n\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_offsetScaleMatrix;\nuniform mat4 u_offsetRotateMatrix;\n\nvoid main(void) {\n  gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0);\n}\n\n\n' : 'attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}');
exports.default = _ol_render_webgl_polygonreplay_defaultshader_;
module.exports = exports['default'];