Sha256: c1491e474c41c98d599a957afea9dd402ec04dfbff73c4ed42f6779acb69f165

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1381798607.9448152:@value"]{I"
class:ETI"BundledAsset;FI"logical_path;TI"(Shaders/Materials/StripeMaterial.js;TI"
pathname;TI"a/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Materials/StripeMaterial.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-15T02:54:58+02:00;TI"length;TiYI"digest;TI"%b6c531a3ff0478524a1fdf9c755b0078;FI"source;TI"Y    //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 float offset;\n\
uniform float repeat;\n\
uniform bool horizontal;\n\
czm_material czm_getMaterial(czm_materialInput materialInput)\n\
{\n\
czm_material material = czm_getDefaultMaterial(materialInput);\n\
float coord = mix(materialInput.st.s, materialInput.st.t, float(horizontal));\n\
float value = fract((coord - offset) * (repeat * 0.5));\n\
float dist = min(value, min(abs(value - 0.5), 1.0 - value));\n\
vec4 currentColor = mix(lightColor, darkColor, step(0.5, value));\n\
vec4 color = czm_antialias(lightColor, darkColor, currentColor, dist);\n\
material.diffuse = color.rgb;\n\
material.alpha = color.a;\n\
return material;\n\
}\n\
";
});
;TI"required_assets_digest;TI"%1e310da2255ea861784d440b71fce7d4;FI"
_version;TI"%6776f581a4329e299531e1d52aa59832;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.23.0 test/dummy/tmp/cache/assets/C1F/BE0/sprockets%2F9ff195723d3a539023420682a372f561
cesium-0.22.0 test/dummy/tmp/cache/assets/C1F/BE0/sprockets%2F9ff195723d3a539023420682a372f561