Sha256: 3f17e25abfde3a4c49baee380edc9c2e9ece2b295a26dc026bc6db1c513d6a44
Contents?: true
Size: 613 Bytes
Versions: 4
Compression:
Stored size: 613 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform vec4 cementColor;\n\ uniform float grainScale;\n\ uniform float roughness;\n\ czm_material czm_getMaterial(czm_materialInput materialInput)\n\ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ float noise = czm_snoise(materialInput.st / grainScale);\n\ noise = pow(noise, 5.0) * roughness;\n\ vec4 color = cementColor;\n\ color.rgb += noise;\n\ material.diffuse = color.rgb;\n\ material.alpha = color.a;\n\ return material;\n\ }\n\ "; });
Version data entries
4 entries across 4 versions & 1 rubygems