Sha256: e6cffeda275426516005e786cbd4fcac32bf35ce16e383c716a721c62cad72df
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform vec4 color;\n\ uniform float glowPower;\n\ varying float v_width;\n\ czm_material czm_getMaterial(czm_materialInput materialInput)\n\ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ vec2 st = materialInput.st;\n\ float glow = glowPower / abs(st.t - 0.5);\n\ material.emission = max(vec3(glow - 1.0 + color.rgb), color.rgb);\n\ material.alpha = clamp(0.0, 1.0, glow) * color.a;\n\ return material;\n\ }\n\ "; });
Version data entries
3 entries across 3 versions & 1 rubygems