Sha256: 4f7785b64cf6cdecdd7a18970328ef91b82063784c2fee8802075c1ba803635b
Contents?: true
Size: 587 Bytes
Versions: 3
Compression:
Stored size: 587 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform sampler2D u_texture0;\n\ uniform sampler2D u_texture1;\n\ uniform vec2 u_center;\n\ uniform float u_radius;\n\ varying vec2 v_textureCoordinates;\n\ void main()\n\ {\n\ vec4 color0 = texture2D(u_texture0, v_textureCoordinates);\n\ vec4 color1 = texture2D(u_texture1, v_textureCoordinates);\n\ float x = length(gl_FragCoord.xy - u_center) / u_radius;\n\ float t = smoothstep(0.5, 0.8, x);\n\ gl_FragColor = mix(color0 + color1, color0, t);\n\ }\n\ "; });
Version data entries
3 entries across 3 versions & 1 rubygems