Sha256: f5ce7dab6d054da96453c6b4881d4ce368af2c4ede3a86d4aa979d8c6125eb95
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372843472.8646889:@value"¤{I" class:EFI"BundledAsset; FI"logical_path; FI")Shaders/Materials/AsphaltMaterial.js; TI" pathname; FI"a/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/Materials/AsphaltMaterial.js; TI"content_type; FI"application/javascript; FI" mtime; FI"2013-07-03T11:16:47+02:00; FI"length; Fi®I"digest; F"%31e21861dab79db076f491d39e0b45f5I"source; FI"®//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform vec4 asphaltColor;\n\ uniform float bumpSize;\n\ uniform float roughness;\n\ czm_material czm_getMaterial(czm_materialInput materialInput)\n\ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ vec4 color = asphaltColor;\n\ vec2 st = materialInput.st;\n\ vec2 F = czm_cellular(st / bumpSize);\n\ color.rgb -= (F.x / F.y) * 0.1;\n\ float noise = czm_snoise(st / bumpSize);\n\ noise = pow(noise, 5.0) * roughness;\n\ color.rgb += noise;\n\ material.diffuse = color.rgb;\n\ material.alpha = color.a;\n\ return material;\n\ }\n\ "; }); ; FI"required_assets_digest; F"%e89abd2e4612979b5a51cc9ff0a7fd42I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.18.0 | test/dummy/tmp/cache/assets/CE3/9D0/sprockets%2F945f3b42c43baf52c8276489172e3bf1 |