declare const _default: "#version 300 es\n#define SHADER_NAME grid3d-cell-vertex-shader\n\nin vec3 positions;\nin vec3 normals;\nin float properties;\n\n// Outputs to fragment shader\nout vec3 cameraPosition;\nout vec4 position_commonspace;\nout vec4 vColor;\n\nflat out vec3 normal;\nflat out int vertexIndex;\nflat out float property;\n\nconst vec3 pickingColor = vec3(1.0, 1.0, 0.0);\n\nvoid main(void) { \n   \n   vertexIndex = gl_VertexID;\n   cameraPosition = project.cameraPosition;   \n   geometry.pickingColor = pickingColor;\n\n   normal = normals;\n   vec3 position = positions;\n\n   float zSign = grid.ZIncreasingDownwards ? -1.0 : 1.0;\n\n   position.z *= zSign;\n   normal.z   *= zSign;\n\n   property = properties;\n\n   position_commonspace = vec4(project_position(position), 0.0);\n   gl_Position = project_common_position_to_clipspace(position_commonspace);\n\n   DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n   vColor = vec4(0.0, 0.0, 0.0, layer.opacity);\n   DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
export default _default;
