Sha256: c7ef1e24f999a4a67a0cd6e26edbaf9e80efc256e825f7bf6e2899a8846c4efe
Contents?: true
Size: 597 Bytes
Versions: 4
Compression:
Stored size: 597 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 time;\n\ czm_material czm_getMaterial(czm_materialInput materialInput)\n\ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ float alpha = 1.0;\n\ if (time != 1.0)\n\ {\n\ float t = 0.5 + (0.5 * czm_snoise(materialInput.str / (1.0 / 10.0)));\n\ if (t > time)\n\ {\n\ alpha = 0.0;\n\ }\n\ }\n\ material.diffuse = color.rgb;\n\ material.alpha = color.a * alpha;\n\ return material;\n\ }\n\ "; });
Version data entries
4 entries across 4 versions & 1 rubygems