Sha256: 07db12ae4476878e553139fa15b4411817a81fad9f9f49bd0eaeee8b88c7f7ba
Contents?: true
Size: 686 Bytes
Versions: 4
Compression:
Stored size: 686 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform sampler2D u_atlas;\n\ varying vec2 v_textureCoordinates;\n\ #ifdef RENDER_FOR_PICK\n\ varying vec4 v_pickColor;\n\ #else\n\ varying vec4 v_color;\n\ #endif\n\ void main()\n\ {\n\ #ifdef RENDER_FOR_PICK\n\ vec4 vertexColor = vec4(1.0, 1.0, 1.0, 1.0);\n\ #else\n\ vec4 vertexColor = v_color;\n\ #endif\n\ vec4 color = texture2D(u_atlas, v_textureCoordinates) * vertexColor;\n\ if (color.a == 0.0)\n\ {\n\ discard;\n\ }\n\ #ifdef RENDER_FOR_PICK\n\ gl_FragColor = v_pickColor;\n\ #else\n\ gl_FragColor = color;\n\ #endif\n\ }\n\ "; });
Version data entries
4 entries across 4 versions & 1 rubygems