Sha256: f0e3accaa47c8648aa66d5ed9eb65c27b6871da1214ba9c1fa53c5043ab53d68

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1362249882.932456:@value"�{I"
class:EFI"BundledAsset;FI"logical_path;FI"%Shaders/Materials/DotMaterial.js;TI"
pathname;FI"V/Users/bogumil/www/cesium/app/assets/javascripts/Shaders/Materials/DotMaterial.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-02-24T17:37:41+01:00;FI"length;Fi�I"digest;F"%f5fb2217402ddf2faf7f4cd183038367I"source;FI"�// This file is automatically rebuilt by the Cesium build process.
/*global define*/

define(function() {
    "use strict";
    return "uniform vec4 lightColor;\n\
uniform vec4 darkColor;\n\
uniform vec2 repeat;\n\
\n\
czm_material czm_getMaterial(czm_materialInput materialInput)\n\
{\n\
    czm_material material = czm_getDefaultMaterial(materialInput);\n\
    \n\
    // From Stefan Gustavson's Procedural Textures in GLSL in OpenGL Insights\n\
    float b = smoothstep(0.3, 0.32, length(fract(repeat * materialInput.st) - 0.5));  // 0.0 or 1.0\n\
\n\
    vec4 color = mix(lightColor, darkColor, b);\n\
    material.diffuse = color.rgb;\n\
    material.alpha = color.a;\n\
    \n\
    return material;\n\
}\n\
";
});
;FI"required_assets_digest;F"%b9fdc5dafc5171e6008f672cc65abd3eI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cesium-0.24.0 test/dummy/tmp/cache/assets/D38/930/sprockets%2F1dd724d3466a12a84bb248dc7e6d06c6
cesium-0.23.0 test/dummy/tmp/cache/assets/D38/930/sprockets%2F1dd724d3466a12a84bb248dc7e6d06c6
cesium-0.22.0 test/dummy/tmp/cache/assets/D38/930/sprockets%2F1dd724d3466a12a84bb248dc7e6d06c6
cesium-0.14.0 test/dummy/tmp/cache/assets/D38/930/sprockets%2F1dd724d3466a12a84bb248dc7e6d06c6