Sha256: b27a887debf195cfb11fd1d81ca7e631d097c9a4ee2160427e98a82df3f2e443
Contents?: true
Size: 577 Bytes
Versions: 3
Compression:
Stored size: 577 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
3 entries across 3 versions & 1 rubygems